[Doc] Button api

This commit is contained in:
陈嘉涵 2018-10-30 01:16:02 +08:00
parent 0bd557bdd4
commit 3c5cc03b4c
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ Vue.use(Button);
| Attribute | Description | Type | Default |
|------|------|------|------|
| type | Can be set to `primary` `warning` `danger` | `String` | `default` |
| size | Can be set to `normal` `large` `small` `mini` | `String` | `normal` |
| size | Can be set to `large` `small` `mini` | `String` | `normal` |
| text | Text | `String` | - |
| tag | Tag | `String` | `button` |
| native-type | Native Type Attribute | `String` | `''` |

View File

@ -65,10 +65,10 @@ Vue.use(Button);
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| type | 类型,可选值为 `primary` `warning` `danger` | `String` | `default` | - |
| size | 尺寸,可选值为 `normal` `large` `small` `mini` | `String` | `normal` | - |
| size | 尺寸,可选值为 `large` `small` `mini` | `String` | `normal` | - |
| text | 文字 | `String` | - | - |
| tag | HTML 标签 | `String` | `button` | - |
| native-type | 类型(原生) | `String` | - | - |
| native-type | 原生 type 属性 | `String` | - | - |
| disabled | 是否禁用按钮 | `Boolean` | `false` | - |
| loading | 是否显示为加载状态 | `Boolean` | `false` | - |
| block | 是否为块级元素 | `Boolean` | `false` | - |