修复 mode=range 确认选择时错误提示的问题

This commit is contained in:
icssoa
2025-11-13 22:31:55 +08:00
parent ae977621cb
commit 96e9e60f14

View File

@@ -263,7 +263,7 @@ function confirm() {
return;
}
if (date.value.length != 2) {
if (date.value.length != 2 && props.mode == "range") {
ui.showToast({
message: t("请选择日期范围")
});