fix(calendar): 在多选日期状态下,选择完后点确定提交报错 (#3195)

This commit is contained in:
如风 2020-06-03 11:30:33 +08:00 committed by GitHub
parent 02bf7e857b
commit d1cc1276ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(() => {