Commit b2012015daf6a5f7d5fd570e7da98ac099287cc2

Authored by 梁灏
1 parent cd78c9c4

fixed Switch dispatch error

fixed Switch dispatch error
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/switch/switch.vue
... ... @@ -60,7 +60,7 @@
60 60 this.currentValue = checked;
61 61 this.$emit('input', checked);
62 62 this.$emit('on-change', checked);
63   - this.dispatch('FormItem', 'on-form-change', data.checked);
  63 + this.dispatch('FormItem', 'on-form-change', checked);
64 64 }
65 65 },
66 66 watch: {
... ...