修复通知看不清问题

This commit is contained in:
yml
2026-05-22 22:02:45 +08:00
parent 4b6a12b08d
commit 14efed5ebf
10 changed files with 57 additions and 27 deletions
@@ -31,11 +31,11 @@ async function loadStatus() {
async function handleSubmit() {
if (!form.name.trim()) {
showToast("请输入真实姓名");
showToast({ message: "请输入真实姓名", icon: "warning-o" });
return;
}
if (!form.idNo.trim() || form.idNo.length < 15) {
showToast("请输入有效的证件号");
showToast({ message: "请输入有效的证件号", icon: "warning-o" });
return;
}
loading.value = true;
@@ -56,7 +56,7 @@ async function handleSubmit() {
}
).response?.data?.message || "实名认证失败"
: "实名认证失败";
showToast(msg);
showToast({ message: msg, icon: "cross" });
} finally {
loading.value = false;
}