From dc839e3490c0a9769a518e42afc7285817a1abb3 Mon Sep 17 00:00:00 2001 From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com> Date: 星期一, 04 三月 2024 23:52:43 +0800 Subject: [PATCH] 验收整改 --- src/utils/request.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index 93a2c77..54e71e4 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -81,7 +81,9 @@ MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => { isRelogin.show = false; store.dispatch('LogOut').then(() => { - location.href = '/index'; + // location.href = '/index'; + let indexUrl = this.$store.state.permission.indexPage + location.href = indexUrl; }) }).catch(() => { isRelogin.show = false; -- Gitblit v1.9.2