Commit 05fd8def by 程默

fix

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