mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-15 14:03:36 +08:00
perf: 框架核心代码国际化全量覆盖(仅需处理业务代码国际化即可) (#1082)
This commit is contained in:
@@ -51,8 +51,8 @@ const GUIDE_STEPS = [
|
||||
},
|
||||
{
|
||||
element: document.querySelector(".set-icon") as string | HTMLElement,
|
||||
title: "项目配置",
|
||||
intro: "您可以在这里查看项目配置",
|
||||
title: "系统配置",
|
||||
intro: "您可以在这里查看系统配置",
|
||||
position: "left"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user