Commit 7f14904a authored by GuanHua's avatar GuanHua

update

parent 9448f7e1
......@@ -117,8 +117,8 @@ class ApiRequest {
if (res.code === 1101) {
// history.replace(`/user/login?redirect=${btoa(encodeURIComponent(String(window.location)))}`)
// removeAuth()
// window.location.replace(`/user/login?redirect=${btoa(encodeURIComponent(String(window.location)))}`)
removeAuth()
window.location.replace(`/user/login?redirect=${btoa(encodeURIComponent(String(window.location)))}`)
message.destroy()
message.error(res.message)
reject(res)
......
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