fixed Switch dispatch error

fixed Switch dispatch error
This commit is contained in:
梁灏 2017-03-09 11:22:08 +08:00
parent cd78c9c488
commit b2012015da

View file

@ -60,7 +60,7 @@
this.currentValue = checked;
this.$emit('input', checked);
this.$emit('on-change', checked);
this.dispatch('FormItem', 'on-form-change', data.checked);
this.dispatch('FormItem', 'on-form-change', checked);
}
},
watch: {