Commit 7dbf6156 by zhangxw

1

1 parent 8eded2ac
......@@ -58,6 +58,7 @@ instance.interceptors.response.use(
showCancelButton: false
}).then(() => {
if (serverCode == 603 || serverCode == 604) { // 登录失效
localStorage.removeItem("token");
wx.miniProgram.reLaunch({
url: `../../pages/login/index?isLoginOut=true`,
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!