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