mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 05:42:44 +08:00
fix(DatePicker): failed to update model value (#10984)
This commit is contained in:
parent
21c57caa9b
commit
05544c109f
@ -130,7 +130,7 @@ export default defineComponent({
|
||||
);
|
||||
|
||||
watch(currentValues, (newValues) => {
|
||||
if (isSameValue(newValues, props.modelValue)) {
|
||||
if (!isSameValue(newValues, props.modelValue)) {
|
||||
emit('update:modelValue', newValues);
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user