se-ui/src/utils/request.js
@@ -88,7 +88,11 @@ MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => { isRelogin.show = false; store.dispatch('LogOut').then(() => { location.href = '/index'; if ((process.env.ENV = "development")) { window.location.href = "http://localhost:8080/login"; } else if ((process.env.ENV = "production")) { window.location.href = window.location.origin + "/sso/login"; } }) }).catch(() => { isRelogin.show = false;