mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
fix 修复 ruoyi 关于 配置应用前缀路径的bug 改为配置文件统一配置
This commit is contained in:
@ -65,7 +65,7 @@ service.interceptors.response.use(res => {
|
||||
}
|
||||
).then(() => {
|
||||
store.dispatch('LogOut').then(() => {
|
||||
location.href = this.$router.options.base + '/index';
|
||||
location.href = process.env.VUE_APP_CONTEXT_PATH;
|
||||
})
|
||||
}).catch(() => {});
|
||||
return Promise.reject('无效的会话,或者会话已过期,请重新登录。')
|
||||
|
Reference in New Issue
Block a user