mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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)
|
emit('update:modelValue', oldValue ? value : null)
|
||||||
);
|
);
|
||||||
|
|
||||||
watch(() => [props.filter, props.maxDate], updateInnerValue);
|
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => props.minDate,
|
() => [props.filter, props.minDate, props.maxDate],
|
||||||
() => {
|
() => {
|
||||||
nextTick(updateInnerValue);
|
nextTick(updateInnerValue);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user