riku
2025-04-25 b515fae43490ab20977d559e19d4e5f63a4fd96d
miniprogram_npm/tdesign-miniprogram/switch/switch.js
@@ -36,9 +36,9 @@
        };
        this.methods = {
            handleSwitch() {
                const { disabled, value, customValue } = this.data;
                const { loading, disabled, value, customValue } = this.data;
                const [activeValue, inactiveValue] = customValue;
                if (disabled)
                if (loading || disabled)
                    return;
                this._trigger('change', {
                    value: value === activeValue ? inactiveValue : activeValue,