@@ -99,7 +99,7 @@ import { Card, Button } from '../../src'
9999<div>卡片内容</div>
100100</template>
101101<template v-slot:header-extra>
102- <nt-button type=" text" >按钮</nt-button>
102+ <nt-button text>按钮</nt-button>
103103</template>
104104<template v-slot:footer>
105105<span style="color: orange">卡片标题</span>
@@ -115,7 +115,7 @@ import { Card, Button } from '../../src'
115115<div >卡片内容</div >
116116</template >
117117<template v-slot:header-extra >
118- <Button type = " text " >按钮</Button >
118+ <Button text >按钮</Button >
119119</template >
120120<template v-slot:footer >
121121<span style =" color : orange " >卡片标题</span >
@@ -139,23 +139,23 @@ import { Card, Button } from '../../src'
139139 <div>卡片内容1</div>
140140 </template>
141141 <template v-slot:header-extra>
142- <nt-button type=" text" >按钮</nt-button>
142+ <nt-button text>按钮</nt-button>
143143 </template>
144144 </nt-card>
145145 <nt-card header-text="卡片标题2">
146146 <template v-slot:default>
147147 <div>卡片内容2</div>
148148 </template>
149149 <template v-slot:header-extra>
150- <nt-button type=" text" >按钮</nt-button>
150+ <nt-button text>按钮</nt-button>
151151 </template>
152152 </nt-card>
153153 <nt-card header-text="卡片标题3">
154154 <template v-slot:default>
155155 <div>卡片内容3</div>
156156 </template>
157157 <template v-slot:header-extra>
158- <nt-button type=" text" >按钮</nt-button>
158+ <nt-button text>按钮</nt-button>
159159 </template>
160160 </nt-card>
161161 </div>
@@ -167,23 +167,23 @@ import { Card, Button } from '../../src'
167167 <div >卡片内容1</div >
168168 </template >
169169 <template v-slot:header-extra >
170- <Button type = " text " >按钮</Button >
170+ <Button text >按钮</Button >
171171 </template >
172172 </Card >
173173 <Card header-text =" 卡片标题2 " >
174174 <template v-slot:default >
175175 <div >卡片内容2</div >
176176 </template >
177177 <template v-slot:header-extra >
178- <Button type = " text " >按钮</Button >
178+ <Button text >按钮</Button >
179179 </template >
180180 </Card >
181181 <Card header-text =" 卡片标题3 " >
182182 <template v-slot:default >
183183 <div >卡片内容3</div >
184184 </template >
185185 <template v-slot:header-extra >
186- <Button type = " text " >按钮</Button >
186+ <Button text >按钮</Button >
187187 </template >
188188 </Card >
189189 </div >
0 commit comments