Merge branch 'main' into gitee

This commit is contained in:
xiaoxian521
2024-04-17 15:47:06 +08:00
40 changed files with 492 additions and 225 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));