diff --git a/packages/switch/src/component.vue b/packages/switch/src/component.vue index ed2d3493c..49ab93f22 100644 --- a/packages/switch/src/component.vue +++ b/packages/switch/src/component.vue @@ -81,7 +81,9 @@ return { currentValue: this.value, coreWidth: this.width, - buttonStyle: {} + buttonStyle: { + transform: '' + } }; }, computed: {