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