perf: 框架核心代码国际化全量覆盖(仅需处理业务代码国际化即可) (#1082)

This commit is contained in:
xiaoming
2024-04-17 15:41:37 +08:00
committed by GitHub
parent d1d2bcaa11
commit a402d33b89
28 changed files with 254 additions and 99 deletions

View File

@@ -77,12 +77,12 @@ const onLogin = async (formEl: FormInstance | undefined) => {
router
.push(getTopMenu(true).path)
.then(() => {
message("登录成功", { type: "success" });
message(t("login.pureLoginSuccess"), { type: "success" });
})
.finally(() => (disabled.value = false));
});
} else {
message("登录失败", { type: "error" });
message(t("login.pureLoginFail"), { type: "error" });
}
})
.finally(() => (loading.value = false));