docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions
+11 -11
View File
@@ -59,17 +59,17 @@ export default {
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| v-model | 开关状态 | `any` | `false` | - |
| title | 左侧标题 | `string` | `''` | - |
| border | 是否展示单元格内边框 | `boolean` | `true` | - |
| cell-size | 单元格大小,可选值为 `large` | `string` | - |
| loading | 是否为加载状态 | `boolean` | `false` | - |
| disabled | 是否为禁用状态 | `boolean` | `false` | - |
| size | 开关尺寸 | `string` | `24px` | - |
| active-color | 开关时的背景色 | `string` | `#1989fa` | - |
| inactive-color | 开关时的背景色 | `string` | `#fff` | - |
| active-value | 打开时的值 | `any` | `true` | - |
| inactive-value | 关闭时的值 | `any` | `false` | - |
| v-model | 开关状态 | *any* | `false` | - |
| title | 左侧标题 | *string* | `''` | - |
| border | 是否展示单元格内边框 | *boolean* | `true` | - |
| cell-size | 单元格大小,可选值为 `large` | *string* | - |
| loading | 是否为加载状态 | *boolean* | `false` | - |
| disabled | 是否为禁用状态 | *boolean* | `false` | - |
| size | 开关尺寸 | *string* | `24px` | - |
| active-color | 开关时的背景色 | *string* | `#1989fa` | - |
| inactive-color | 开关时的背景色 | *string* | `#fff` | - |
| active-value | 打开时的值 | *any* | `true` | - |
| inactive-value | 关闭时的值 | *any* | `false` | - |
### Events