From f728629437de2a68cee4edfb2b38e20bc18d7f3e Mon Sep 17 00:00:00 2001 From: otis <33190365+o-cc@users.noreply.github.com> Date: Fri, 12 Jan 2024 18:13:07 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=9C=A8=E7=99=BB?= =?UTF-8?q?=E9=99=86=E9=A1=B5=E7=82=B9=E5=87=BB=E7=99=BB=E5=BD=95=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=97=B6=E7=9A=84=E5=86=85=E9=83=A8=E9=80=BB=E8=BE=91?= =?UTF-8?q?=20(#867)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index c60bea95e..e0e721d3e 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -77,7 +77,7 @@ const onLogin = async (formEl: FormInstance | undefined) => { .then(res => { if (res.success) { // 获取后端路由 - initRouter().then(() => { + return initRouter().then(() => { router.push(getTopMenu(true).path); message("登录成功", { type: "success" }); });