diff --git a/packages/switch/src/component.vue b/packages/switch/src/component.vue index 4143ec1b3..67b3b0560 100644 --- a/packages/switch/src/component.vue +++ b/packages/switch/src/component.vue @@ -136,7 +136,7 @@ this.$refs.core.style.backgroundColor = newColor; }, switchValue() { - this.$refs.input.click(); + !this.switchDisabled && this.handleChange(); }, getMigratingConfig() { return {