From 9c83f0e534ce1796a94081449238b5bf22b5152b Mon Sep 17 00:00:00 2001 From: Aresn Date: Mon, 5 Jun 2017 16:04:22 +0800 Subject: [PATCH] fixed Checkbox bug --- src/components/checkbox/checkbox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/checkbox/checkbox.vue b/src/components/checkbox/checkbox.vue index 5bc52c2..9f633f0 100644 --- a/src/components/checkbox/checkbox.vue +++ b/src/components/checkbox/checkbox.vue @@ -105,7 +105,7 @@ this.$emit('input', checked); if (this.group) { - this.$parent.change(this.model); + this.parent.change(this.model); } else { this.$emit('on-change', checked); this.dispatch('FormItem', 'on-form-change', checked); -- libgit2 0.21.4