修复 mode=range 确认选择时错误提示的问题
This commit is contained in:
@@ -263,7 +263,7 @@ function confirm() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (date.value.length != 2) {
|
if (date.value.length != 2 && props.mode == "range") {
|
||||||
ui.showToast({
|
ui.showToast({
|
||||||
message: t("请选择日期范围")
|
message: t("请选择日期范围")
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user