cl-calendar-select 添加提示

This commit is contained in:
icssoa
2025-09-26 10:07:11 +08:00
parent b24a92b499
commit 81e48b7277

View File

@@ -263,6 +263,13 @@ function confirm() {
return;
}
if (date.value.length != 2) {
ui.showToast({
message: t("请选择日期范围")
});
return;
}
emit("update:date", date.value);
emit("change", date.value);