fix: 修复登录时菜单显示不全

This commit is contained in:
皓月归尘 2025-02-18 02:16:48 +08:00
parent 9cf28df363
commit d8c2d1db4b

View File

@ -98,6 +98,7 @@ const onLogin = async (formEl: FormInstance | undefined) => {
message(t("login:LoginSuccess"), { type: "success" }); message(t("login:LoginSuccess"), { type: "success" });
}) })
.finally(() => (disabled.value = false)); .finally(() => (disabled.value = false));
window.location.reload();
}); });
} else { } else {
message(t("login:LoginFail"), { type: "error" }); message(t("login:LoginFail"), { type: "error" });