cl-calendar-select 添加提示
This commit is contained in:
@@ -263,6 +263,13 @@ function confirm() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (date.value.length != 2) {
|
||||||
|
ui.showToast({
|
||||||
|
message: t("请选择日期范围")
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
emit("update:date", date.value);
|
emit("update:date", date.value);
|
||||||
emit("change", date.value);
|
emit("change", date.value);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user