mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
fix(DatePicker): failed to update model value (#10984)
This commit is contained in:
@@ -130,7 +130,7 @@ export default defineComponent({
|
||||
);
|
||||
|
||||
watch(currentValues, (newValues) => {
|
||||
if (isSameValue(newValues, props.modelValue)) {
|
||||
if (!isSameValue(newValues, props.modelValue)) {
|
||||
emit('update:modelValue', newValues);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user