update 更新关于全局路径设置与文档链接

This commit is contained in:
疯狂的狮子Li
2021-10-24 17:23:15 +08:00
parent b8a8b76c38
commit 2173ed504d
4 changed files with 4 additions and 2 deletions

View File

@ -65,7 +65,7 @@ service.interceptors.response.use(res => {
}
).then(() => {
store.dispatch('LogOut').then(() => {
location.href = '/index';
location.href = this.$router.options.base + '/index';
})
}).catch(() => {});
return Promise.reject('无效的会话,或者会话已过期,请重新登录。')