From 07cc9c4791b97e26a854ede615e08cdd64d8d929 Mon Sep 17 00:00:00 2001 From: wxl200219 <156946462@qq.com> Date: Mon, 21 Oct 2024 07:10:28 +0000 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-fastapi-frontend/src/layout/comp?= =?UTF-8?q?onents/Navbar.vue.=20=E8=8B=A5=E9=83=A8=E7=BD=B2=E7=9A=84?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E6=9C=89PRE=5FURL=E5=85=AC=E5=85=B1=E5=89=8D?= =?UTF-8?q?=E7=BC=80=EF=BC=8C=E9=83=A8=E7=BD=B2=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E4=B9=8B=E5=90=8E=EF=BC=8C=E6=8E=A8=E5=87=BA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=9A=84=E8=B7=AF=E5=BE=84=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wxl200219 <156946462@qq.com> --- ruoyi-fastapi-frontend/src/layout/components/Navbar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-fastapi-frontend/src/layout/components/Navbar.vue b/ruoyi-fastapi-frontend/src/layout/components/Navbar.vue index 05e15af..d65aaa2 100644 --- a/ruoyi-fastapi-frontend/src/layout/components/Navbar.vue +++ b/ruoyi-fastapi-frontend/src/layout/components/Navbar.vue @@ -89,7 +89,7 @@ function logout() { type: 'warning' }).then(() => { userStore.logOut().then(() => { - location.href = '/index'; + location.href = process.env.VUE_APP_PRE_URL + '/index'; }) }).catch(() => { }); } -- Gitee