From 8df36a0a03cd67325492b7ac1648b3bafd2fcab7 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Wed, 4 Jan 2017 11:11:20 +0800 Subject: [PATCH] update Switch --- src/components/switch/switch.vue | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/components/switch/switch.vue b/src/components/switch/switch.vue index 391fa3f..5a70b49 100644 --- a/src/components/switch/switch.vue +++ b/src/components/switch/switch.vue @@ -50,6 +50,7 @@ this.checked = !this.checked; this.$emit('on-change', this.checked); + this.$dispatch('on-form-change', this.checked); } } }; -- libgit2 0.21.4