Commit 9c83f0e534ce1796a94081449238b5bf22b5152b
1 parent
9397901d
fixed Checkbox bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/checkbox/checkbox.vue
@@ -105,7 +105,7 @@ | @@ -105,7 +105,7 @@ | ||
105 | this.$emit('input', checked); | 105 | this.$emit('input', checked); |
106 | 106 | ||
107 | if (this.group) { | 107 | if (this.group) { |
108 | - this.$parent.change(this.model); | 108 | + this.parent.change(this.model); |
109 | } else { | 109 | } else { |
110 | this.$emit('on-change', checked); | 110 | this.$emit('on-change', checked); |
111 | this.dispatch('FormItem', 'on-form-change', checked); | 111 | this.dispatch('FormItem', 'on-form-change', checked); |