We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6c6aae + 0dc39d3 commit 06c2b05Copy full SHA for 06c2b05
src/fields/fieldButton.vue
@@ -10,13 +10,15 @@
10
<Button
11
:type="field.subtype || 'default'"
12
:size="field.size || 'default'"
13
+ :disabled="field.disabled || false"
14
:loading="loading"
15
>{{ text }}</Button>
16
</Poptip>
17
18
v-else
19
20
21
22
:class="classes"
23
24
@click="handleClick"
website/page/doc/Button/index.vue
@@ -29,6 +29,12 @@
29
<td>String</td>
30
<td>-</td>
31
</tr>
32
+ <tr>
33
+ <td>disabled</td>
34
+ <td>设置按钮为禁用状态</td>
35
+ <td>Boolean</td>
36
+ <td>false</td>
37
+ </tr>
38
<tr>
39
<td>textModel</td>
40
<td>按钮文案对应的model属性,指定后将从<code>form.model</code>里面获取按钮的文案</td>
0 commit comments