fix:解决单点无法登出

This commit is contained in:
yuhan_jiang 2022-09-21 11:09:25 +08:00
parent b3b35d21b3
commit 6827b2ebe5
1 changed files with 3 additions and 3 deletions

View File

@ -113,9 +113,9 @@ instance.interceptors.response.use(
if (response.headers.redirect) { if (response.headers.redirect) {
window.location.replace(response.headers.redirect) window.location.replace(response.headers.redirect)
// 西- // 西-
if(!whoShow.itShowXiHaiAn) { // if(!whoShow.itShowXiHaiAn) {
location.reload() // location.reload()
} // }
return response return response
} }
if (response.headers.redirect === '/#/login') { if (response.headers.redirect === '/#/login') {