...
|
...
|
@@ -27,6 +27,7 @@ import { logEvent, |
|
|
YB_AWAKE_MP,
|
|
|
YB_SERVICE_PUSH
|
|
|
} from './libs/analytics.js';
|
|
|
import router from './pages/zeroSell/router/router';
|
|
|
|
|
|
|
|
|
App({
|
...
|
...
|
@@ -101,6 +102,9 @@ App({ |
|
|
}, 1000);
|
|
|
this.mtainit(options);
|
|
|
await wxLogin();
|
|
|
event.on('wechat-login-error', () => {
|
|
|
router.go('bindPhoneNumber');
|
|
|
});
|
|
|
event.on('user-is-login', ({ logged, loginSuccess }) => {
|
|
|
const userInfo = wx.getStorageSync('userInfo');
|
|
|
console.log(userInfo);
|
...
|
...
|
|