docs: update numeric type
This commit is contained in:
@@ -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` |
|
||||
|
||||
@@ -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` |
|
||||
|
||||
Reference in New Issue
Block a user