Commit 4234059b by wenyang

token校验失败,调整首页

parent b5a2c407
......@@ -53,8 +53,11 @@ export const interceptor = () => {
// uni.hideLoading()
//console.log(args);
if(args && args.data && args.data.errorCode && "T001"==args.data.errorCode){
uni.redirectTo({
url:'/components/login/login'
// uni.redirectTo({
// url:'/components/login/login'
// })
uni.switchTab({
url:'/pages/index/index'
})
}
},
......
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