fix(DatetimePicker): fix minDate && maxDate wacher (#10431)

* fix(DatetimePicker): fix minDate

* fix(DatePicker): prettier

* fix(DatePicker): prettier
This commit is contained in:
Nemo Shen 2022-03-24 23:11:17 +08:00 committed by GitHub
parent aa304ad22f
commit c7904c4f63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}