mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 23:49:14 +08:00
fix(Calendar): quick select not work when select same day (#6504)
This commit is contained in:
parent
e01699a74b
commit
8c995f6320
@ -285,7 +285,7 @@ export default createComponent({
|
|||||||
} else if (compareToStart === -1) {
|
} else if (compareToStart === -1) {
|
||||||
this.select([date, null]);
|
this.select([date, null]);
|
||||||
} else if (this.allowSameDay) {
|
} else if (this.allowSameDay) {
|
||||||
this.select([date, date]);
|
this.select([date, date], true);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.select([date, null]);
|
this.select([date, null]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user