docs: update numeric type

This commit is contained in:
陈嘉涵
2020-01-29 10:11:09 +08:00
parent 36ba412f70
commit c6f424baa7
85 changed files with 197 additions and 197 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ use `loading` property to keep component in loading state
| cell-size | Cell sizecan be set to `large` | *string* | - |
| loading | whether switch is loading | *boolean* | `false` |
| disabled | whether to disable switch | *boolean* | `false` |
| size | Size of switch | *string \| number* | `24px` |
| size | Size of switch | *number \| string* | `24px` |
| active-color | Background of switch color when active | *string* | `#1989fa` |
| inactive-color | Background of switch color when inactive | *string* | `#fff` |
| active-value | Value when active | *any* | `true` |
+1 -1
View File
@@ -65,7 +65,7 @@ export default {
| cell-size | 单元格大小,可选值为 `large` | *string* | - |
| loading | 是否为加载状态 | *boolean* | `false` |
| disabled | 是否为禁用状态 | *boolean* | `false` |
| size | 开关尺寸 | *string \| number* | `24px` |
| size | 开关尺寸 | *number \| string* | `24px` |
| active-color | 开关时的背景色 | *string* | `#1989fa` |
| inactive-color | 开关时的背景色 | *string* | `#fff` |
| active-value | 打开时的值 | *any* | `true` |