fix(DatePicker): failed to update model value (#10984)
This commit is contained in:
@@ -130,7 +130,7 @@ export default defineComponent({
|
|||||||
);
|
);
|
||||||
|
|
||||||
watch(currentValues, (newValues) => {
|
watch(currentValues, (newValues) => {
|
||||||
if (isSameValue(newValues, props.modelValue)) {
|
if (!isSameValue(newValues, props.modelValue)) {
|
||||||
emit('update:modelValue', newValues);
|
emit('update:modelValue', newValues);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user