mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(Calendar): remove duration 0 (#4474)
This commit is contained in:
parent
e2e0a2bcb1
commit
058a00ed33
@ -365,7 +365,6 @@ VantComponent({
|
|||||||
if (maxRange && calcDateNum(date) > maxRange) {
|
if (maxRange && calcDateNum(date) > maxRange) {
|
||||||
if (showRangePrompt) {
|
if (showRangePrompt) {
|
||||||
Toast({
|
Toast({
|
||||||
duration: 0,
|
|
||||||
context: this,
|
context: this,
|
||||||
message: rangePrompt || `选择天数不能超过 ${maxRange} 天`,
|
message: rangePrompt || `选择天数不能超过 ${maxRange} 天`,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user