diff --git a/packages/switch/en-US.md b/packages/switch/en-US.md index 20eb3302b..9fab96058 100644 --- a/packages/switch/en-US.md +++ b/packages/switch/en-US.md @@ -96,12 +96,14 @@ export default { | Attribute | Description | Type | Default | |------|------|------|------| -| v-model | Check status of Switch | `Boolean` | `false` | +| 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` | `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` | ### Event diff --git a/packages/switch/index.vue b/packages/switch/index.vue index c81597e87..e0dfcab14 100644 --- a/packages/switch/index.vue +++ b/packages/switch/index.vue @@ -1,7 +1,7 @@