From c7b910293a244e7860e9f7124b6f2caf3479aedb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BE=8E=E4=B8=80=E5=A4=A9?= <130427+xiaoran27@user.noreply.gitee.com> Date: Tue, 29 Apr 2025 07:41:33 +0000 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-ui/src/layout/components/Navbar.?= =?UTF-8?q?vue.=20=E8=B7=AF=E7=94=B1=E5=8C=B9=E9=85=8D=20publicPath?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 美一天 <130427+xiaoran27@user.noreply.gitee.com> --- ruoyi-ui/src/layout/components/Navbar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/layout/components/Navbar.vue b/ruoyi-ui/src/layout/components/Navbar.vue index 14db4d34cf..7bea5af351 100644 --- a/ruoyi-ui/src/layout/components/Navbar.vue +++ b/ruoyi-ui/src/layout/components/Navbar.vue @@ -102,7 +102,7 @@ export default { type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - location.href = '/index' + location.href = process.env.BASE_URL + '/index' }) }).catch(() => {}) } -- Gitee