From 233d44523ff5e481f9eb5d3eeb218b4b5440f8d6 Mon Sep 17 00:00:00 2001 From: liukang <644012909@qq.com> Date: Wed, 12 Feb 2025 10:52:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 2 +- src/utils/request.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 073feb7..9f91ccd 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -103,7 +103,7 @@ export default { type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - location.href = process.env.VUE_APP_VITE_BASE_PATH + "/index"; + location.href = process.env.VUE_APP_VITE_BASE_PATH + "index"; }) }).catch(() => { }); diff --git a/src/utils/request.js b/src/utils/request.js index 3585ea9..0992e64 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -91,7 +91,7 @@ service.interceptors.response.use(res => { }).then(() => { isRelogin.show = false; store.dispatch('LogOut').then(() => { - location.href = process.env.VUE_APP_VITE_BASE_PATH + '/index'; + location.href = process.env.VUE_APP_VITE_BASE_PATH + 'index'; }) }).catch(() => { isRelogin.show = false;