diff --git a/src/packages/switch/switch.taro.tsx b/src/packages/switch/switch.taro.tsx index 5d72b21c7f..3b76fa1ab2 100644 --- a/src/packages/switch/switch.taro.tsx +++ b/src/packages/switch/switch.taro.tsx @@ -72,7 +72,6 @@ export const Switch: FunctionComponent> = (props) => { if (disabled || loading) return if (onChange) { loadingIcon && setLoading(true) - onChange(!value) try { await onChange(!value) } catch (e) {