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
@@ -94,7 +94,7 @@ export default {
| v-model | Check status of Switch | *any* | `false` |
| loading | Whether to show loading icon | *boolean* | `false` |
| disabled | Whether to disable switch | *boolean* | `false` |
| size `v2.2.11` | Size of switch | *string \| number* | `30px` |
| size `v2.2.11` | Size of switch | *number \| string* | `30px` |
| active-color | Background color when active | *string* | `#1989fa` |
| inactive-color | Background color when inactive | *string* | `#fff` |
| active-value | Value when active | *any* | `true` |
+1 -1
View File
@@ -106,7 +106,7 @@ export default {
| v-model | 开关选中状态 | *any* | `false` |
| loading | 是否为加载状态 | *boolean* | `false` |
| disabled | 是否为禁用状态 | *boolean* | `false` |
| size `v2.2.11` | 开关尺寸,默认单位为`px` | *string \| number* | `30px` |
| size `v2.2.11` | 开关尺寸,默认单位为`px` | *number \| string* | `30px` |
| active-color | 打开时的背景色 | *string* | `#1989fa` |
| inactive-color | 关闭时的背景色 | *string* | `#fff` |
| active-value | 打开时的值 | *any* | `true` |