fix:解决单点无法登出
This commit is contained in:
parent
b3b35d21b3
commit
6827b2ebe5
|
@ -113,9 +113,9 @@ instance.interceptors.response.use(
|
|||
if (response.headers.redirect) {
|
||||
window.location.replace(response.headers.redirect)
|
||||
// 西海岸-不重新加载
|
||||
if(!whoShow.itShowXiHaiAn) {
|
||||
location.reload()
|
||||
}
|
||||
// if(!whoShow.itShowXiHaiAn) {
|
||||
// location.reload()
|
||||
// }
|
||||
return response
|
||||
}
|
||||
if (response.headers.redirect === '/#/login') {
|
||||
|
|
Loading…
Reference in New Issue