Commit 122f265a authored by youjie's avatar youjie

no message

parent eefe37c4
...@@ -91,16 +91,24 @@ ...@@ -91,16 +91,24 @@
}) })
} }
} }
},(error)=>{ },(failed) => {
uni.hideLoading() uni.hideLoading()
this.ShareLoginstatus = false uni.showToast({
if(error.message=='当前微信已绑定其他同业!'){ title: failed.message,
// if(uni.getStorageSync("mall_UserInfo")||uni.getStorageSync('b2b_user')){} icon: "none",
let newUrl = '/pages/index/index'; });
uni.redirectTo({ setTimeout(() => {
url: newUrl if(failed.message=='同业已绑定微信!'){
}) let newUrl = '/pages/index/index';
} uni.redirectTo({
url: newUrl
})
}
setTimeout(() => {
this.ShareLoginstatus = false
}, 2000)
}, 2000)
}) })
}, },
changeCurrentFocus(val) { changeCurrentFocus(val) {
......
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