docs: update version tag

This commit is contained in:
陈嘉涵
2020-01-10 21:06:05 +08:00
parent 6555af4f76
commit e16239e426
124 changed files with 1974 additions and 1974 deletions
+14 -14
View File
@@ -82,20 +82,20 @@ export default {
### Props
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| v-model | Check status of Switch | *any* | `false` | - |
| loading | Whether to show loading icon | *boolean* | `false` | - |
| disabled | Whether to disable switch | *boolean* | `false` | - |
| size | Size of switch | *string \| number* | `30px` | 2.2.11 |
| active-color | Background color when active | *string* | `#1989fa` | - |
| inactive-color | Background color when inactive | *string* | `#fff` | - |
| active-value | Value when active | *any* | `true` | - |
| inactive-value | Value when inactive | *any* | `false` | - |
| Attribute | Description | Type | 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` |
| active-color | Background color when active | *string* | `#1989fa` |
| inactive-color | Background color when inactive | *string* | `#fff` |
| active-value | Value when active | *any* | `true` |
| inactive-value | Value when inactive | *any* | `false` |
### Events
| Event | Description | Parameters | Version |
|------|------|------|------|
| change | Triggered when check status changed | checked: is switch checked | - |
| click | Triggered when clicked | event: Event | 2.2.11 |
| Event | Description | Parameters |
|------|------|------|
| change | Triggered when check status changed | checked: is switch checked |
| click `v2.2.11` | Triggered when clicked | event: Event |