...
|
...
|
@@ -111,8 +111,8 @@ function wechatUserIsBind(unionID, nickName) { |
|
|
console.log('wechatUserIsBind=>', userInfo);
|
|
|
|
|
|
app._removeSync('disableAutoLogin');
|
|
|
app.setUserInfo(userInfo);
|
|
|
app.setSessionKey(userInfo.sessionKey);
|
|
|
app.setUserInfo(userInfo);
|
|
|
|
|
|
// 登录成功回调
|
|
|
event.emit('yas-login-type-report', {LOGIN_TYPE: 4});
|
...
|
...
|
@@ -289,8 +289,8 @@ function getPhoneNumber(e) { |
|
|
console.log('getPhoneNumber => ', userInfo);
|
|
|
|
|
|
app._removeSync('disableAutoLogin');
|
|
|
app.setUserInfo(userInfo);
|
|
|
app.setSessionKey(userInfo.sessionKey);
|
|
|
app.setUserInfo(userInfo);
|
|
|
|
|
|
if (e.currentTarget && !e.currentTarget.dataset.notJump) {
|
|
|
wx.navigateBack(); // 先执行这个,然后在执行event
|
...
|
...
|
|