|
@@ -64,7 +64,7 @@ const onLogin = async (formEl: FormInstance | undefined) => {
|
|
|
return initRouter().then(() => {
|
|
return initRouter().then(() => {
|
|
|
disabled.value = true;
|
|
disabled.value = true;
|
|
|
router
|
|
router
|
|
|
- .push(getTopMenu(true).path)
|
|
|
|
|
|
|
+ .push(getTopMenu(true)?.path || "/")
|
|
|
.then(() => {
|
|
.then(() => {
|
|
|
message("登录成功", { type: "success" });
|
|
message("登录成功", { type: "success" });
|
|
|
})
|
|
})
|