mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
fix(DatetimePicker): fix minDate && maxDate wacher (#10431)
* fix(DatetimePicker): fix minDate * fix(DatePicker): prettier * fix(DatePicker): prettier
This commit is contained in:
parent
aa304ad22f
commit
c7904c4f63
@ -296,10 +296,8 @@ export default defineComponent({
|
||||
emit('update:modelValue', oldValue ? value : null)
|
||||
);
|
||||
|
||||
watch(() => [props.filter, props.maxDate], updateInnerValue);
|
||||
|
||||
watch(
|
||||
() => props.minDate,
|
||||
() => [props.filter, props.minDate, props.maxDate],
|
||||
() => {
|
||||
nextTick(updateInnerValue);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user