Commit 8eded2ac by zhangxw

登录失效跳转

1 parent 65a00acc
...@@ -58,7 +58,7 @@ instance.interceptors.response.use( ...@@ -58,7 +58,7 @@ instance.interceptors.response.use(
showCancelButton: false showCancelButton: false
}).then(() => { }).then(() => {
if (serverCode == 603 || serverCode == 604) { // 登录失效 if (serverCode == 603 || serverCode == 604) { // 登录失效
wx.miniProgram.navigateTo({ wx.miniProgram.reLaunch({
url: `../../pages/login/index?isLoginOut=true`, 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!