修复市局空白页
This commit is contained in:
parent
11362c536d
commit
a34e079708
|
@ -98,7 +98,10 @@ instance.interceptors.response.use(
|
|||
}
|
||||
if (response.headers.redirect) {
|
||||
window.location.replace(response.headers.redirect)
|
||||
return
|
||||
// setTimeout(() => {
|
||||
location.reload()
|
||||
// }, 1000)
|
||||
return response
|
||||
}
|
||||
if (response.headers.redirect === '/#/login') {
|
||||
var keys = document.cookie.match(/[^ =;]+(?=\=)/g)
|
||||
|
|
Loading…
Reference in New Issue