fix(Calendar): remove duration 0 (#4474)

This commit is contained in:
nemo-shen 2021-09-10 11:06:58 +08:00 committed by GitHub
parent e2e0a2bcb1
commit 058a00ed33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,7 +365,6 @@ VantComponent({
if (maxRange && calcDateNum(date) > maxRange) {
if (showRangePrompt) {
Toast({
duration: 0,
context: this,
message: rangePrompt || `选择天数不能超过 ${maxRange}`,
});