mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(calendar): 在多选日期状态下,选择完后点确定提交报错 (#3195)
This commit is contained in:
parent
02bf7e857b
commit
d1cc1276ad
@ -316,7 +316,7 @@ VantComponent({
|
||||
},
|
||||
|
||||
onConfirm() {
|
||||
if (this.data.type === 'range' && !this.checkRange()) {
|
||||
if (this.data.type === 'range' && !this.checkRange(this.data.currentDate)) {
|
||||
return;
|
||||
}
|
||||
wx.nextTick(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user