Commit 05fd8def by 程默

fix

parent 6060b637
......@@ -152,13 +152,14 @@ export default {
//需要绑定
this.isHaveUnion = false;
}
this.appid = res.data.data.appid;
this.session_key = res.data.data.session_key;
this.openid = res.data.data.openid;
this.isShow = true;
//checkLogin
this.checkLogin();
this.checkLogin(e);
})
.catch(err => {
console.log("err", err);
......@@ -170,7 +171,8 @@ export default {
wx.showToast({ title: "获取用户信息失败", icon: "none" });
}
},
checkLogin() {
checkLogin(e) {
console.log(this.isHaveUnion,e)
if (this.isHaveUnion) {
//是会员 直接登录
wx.reLaunch({
......
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