Commit 126e2b3a by weiw

fix:处理登录失效

parent 8ae3e3bb
......@@ -55,8 +55,8 @@ service.interceptors.response.use(
}
else if (code === '00000005') {
// 处理登录失效
window.localStorage.removeItem('__TOKEN__')
window.location.href = '/sdream-ai'
window.localStorage.clear()
// window.location.href = '/sdream-ai'
// window.location.reload()
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment