From 102f2220365de7cd04d7cd07d8ff8ef03ca2c460 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 19 二月 2025 08:49:38 +0800 Subject: [PATCH] 修改跳转和双向绑定 --- src/utils/request.js | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index 8deb81f..358efa1 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -92,9 +92,8 @@ MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => { isRelogin.show = false; store.dispatch('LogOut').then(() => { - // location.href = '/index'; - let indexUrl = this.$store.state.permission.indexPage - location.href = indexUrl; + // let indexUrl = this.$store.state.permission.indexPage + location.href = '/index'; }) }).catch(() => { isRelogin.show = false; -- Gitblit v1.9.2