fix(calendar): fixed no confirm event in allow-same-day & no confirm button

This commit is contained in:
landluck 2023-03-07 10:23:41 +08:00
parent 0e425098af
commit db89819f9e

View File

@ -312,7 +312,7 @@ VantComponent({
} else if (compareToStart === -1) {
this.select([date, null]);
} else if (allowSameDay) {
this.select([date, date]);
this.select([date, date], true);
}
} else {
this.select([date, null]);