Commit 18b3d811fe15d1d083bc101f52971cc7aa99d42b

Authored by abson
1 parent 752a5e1c

解决tabbar 报错问题

Showing 1 changed file with 4 additions and 2 deletions
... ... @@ -83,7 +83,7 @@ App({
83 83 if(option) this.globalData.scene=option.scene;
84 84 console.log(option,'登陆场景');
85 85  
86   - wx.hideTabBar();
  86 + // wx.hideTabBar();
87 87 this.initExt();
88 88 // this.overShare()
89 89  
... ... @@ -250,7 +250,9 @@ App({
250 250 //首页的第一次登录
251 251 getUserFir(t) {
252 252 var s = this;
253   - if (o.isAuth()) "function" == typeof t && t(s.globalData.userInfo, s.globalData.wechatUser); else {
  253 + if (o.isAuth()) {
  254 + "function" == typeof t && t(s.globalData.userInfo, s.globalData.wechatUser);
  255 + } else {
254 256 if (!o.isAuth()) return o.wxLogin_fir(t);
255 257 if (null == s.globalData.userInfo) {
256 258 return o.wxLogin_fir(t);
... ...