diff --git a/packages/switch/src/component.vue b/packages/switch/src/component.vue index abe404048..aaf9381f0 100644 --- a/packages/switch/src/component.vue +++ b/packages/switch/src/component.vue @@ -119,8 +119,8 @@ }, methods: { handleChange(event) { - this.$emit('change', !this.checked ? this.onValue : this.offValue); this.$emit('input', !this.checked ? this.onValue : this.offValue); + this.$emit('change', !this.checked ? this.onValue : this.offValue); this.$nextTick(() => { // set input's checked property // in case parent refuses to change component's value