Browse Source

Merge branch 'master' into 20250701_pay

pull/68/head
rainbro 6 days ago
parent
commit
4a3c2e867d
  1. 10
      src/components/GuipSwitch.vue

10
src/components/GuipSwitch.vue

@ -59,17 +59,15 @@ export default {
loading: false, // loading: false, //
}; };
}, },
// watch: {
// modelValue(newVal) {
// console.log(newVal,'newVal---');
// this.internalValue = newVal;
// },
// },
watch: { watch: {
value(newVal) { value(newVal) {
this.internalValue = newVal; this.internalValue = newVal;
}, },
modelValue(newVal) {
this.internalValue = newVal;
},
internalValue(newVal) { internalValue(newVal) {
this.internalValue = newVal;
this.$emit('input', newVal); this.$emit('input', newVal);
}, },
}, },

Loading…
Cancel
Save