From 80339048f8ddfb55555d852aa48aac57c1632883 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:40:14 +0000 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-ui/src/utils/request.js.=20?= =?UTF-8?q?=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/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/utils/request.js b/ruoyi-ui/src/utils/request.js index 7150ecb12..463f782d3 100644 --- a/ruoyi-ui/src/utils/request.js +++ b/ruoyi-ui/src/utils/request.js @@ -87,7 +87,7 @@ service.interceptors.response.use(res => { MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => { isRelogin.show = false store.dispatch('LogOut').then(() => { - location.href = '/index' + location.href = process.env.BASE_URL + '/index' }) }).catch(() => { isRelogin.show = false