diff --git a/packageC/pages/luckyGo/luckyGo_activityList/luckyGo_activityList.js b/packageC/pages/luckyGo/luckyGo_activityList/luckyGo_activityList.js index c90b7be..b554f17 100644 --- a/packageC/pages/luckyGo/luckyGo_activityList/luckyGo_activityList.js +++ b/packageC/pages/luckyGo/luckyGo_activityList/luckyGo_activityList.js @@ -31,19 +31,21 @@ Page({ }) }; - app.isLogin().then(function(data) { - self.setData({ - userInfo: data, - }); - }); + // app.isLogin().then(function(data) { + // self.setData({ + // userInfo: data, + // }); + // }); }, onShow: function() { getApp().check_can_share(); - if(app.globalData.userInfo) { - if(!this.data.isLogin) { + // if(app.globalData.userInfo) { + // if(!this.data.isLogin) { + + var user=app.globalData.userInfo; this.setData({ - userInfo: app.globalData.userInfo, + userInfo:user , imghost: app.globalData.setting.imghost, isLogin: true, }); @@ -71,8 +73,8 @@ Page({ }); - }; - }; + // }; + // }; },