Commit 291e7234851d66f2f980533e46d59f4803bc6548

Authored by yvan.ni
1 parent 3b2ffe8f

白屏优化

pages/togoin/togoin.js
... ... @@ -12,6 +12,7 @@ Page({
12 12 first_leader:'', //-- 邀请人 --
13 13 },
14 14 onLoad: function (options) {
  15 + getApp().globalData.isLoad_ad=1;
15 16 //--判断是否有接受到邀请人的ID--
16 17 if(options.first_leader){
17 18 this.setData({first_leader:options.first_leader});
... ...
utils/auth.js
... ... @@ -221,9 +221,7 @@ module.exports = {
221 221 var a = wx.getStorageSync("wx_user_info");
222 222 var userInfo = a.userInfo;
223 223 if (userInfo==undefined){
224   - //判断本地是数据是否正确
225   - if(n.globalData.wxapp_buy_obj && n.globalData.wxapp_buy_obj.isbuy==1 && n.globalData.wxapp_buy_obj.isout==0 ) n.goto("/pages/togoin/togoin");
226   -
  224 + n.goto("/pages/togoin/togoin");
227 225 }else{
228 226 a && void 0 != a ? (n.globalData.wechatUser = a, o.login(t, a, e)) : o.goGetUserInfo();
229 227 }
... ...