diff --git a/app.js b/app.js index fd71b47..405e923 100644 --- a/app.js +++ b/app.js @@ -83,7 +83,7 @@ App({ if(option) this.globalData.scene=option.scene; console.log(option,'登陆场景'); - wx.hideTabBar(); + // wx.hideTabBar(); this.initExt(); // this.overShare() @@ -250,7 +250,9 @@ App({ //首页的第一次登录 getUserFir(t) { var s = this; - if (o.isAuth()) "function" == typeof t && t(s.globalData.userInfo, s.globalData.wechatUser); else { + if (o.isAuth()) { + "function" == typeof t && t(s.globalData.userInfo, s.globalData.wechatUser); + } else { if (!o.isAuth()) return o.wxLogin_fir(t); if (null == s.globalData.userInfo) { return o.wxLogin_fir(t);