Commit 20bd0cff by weiw

fix: 重新登录的逻辑

parent 24850c45
......@@ -55,8 +55,8 @@ service.interceptors.response.use(
}
else if (code === '00000005') {
// 处理登录失效
// window.localStorage.removeItem('__TOKEN__')
// window.location.href = '/sdream-ai'
window.localStorage.removeItem('__TOKEN__')
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