Commit 77d9102bccc11d8c22935c0d714341e22d046222

Authored by yvan.ni
1 parent 94b368d0

需要带入this对象判断是不是可以分享

pages/index/index/index.js
... ... @@ -435,7 +435,7 @@ Page({
435 435 //要等一下会员默认登录
436 436 getApp().waitfor_login(async ()=> {
437 437  
438   - getApp().check_can_share();
  438 + getApp().check_can_share(th);
439 439 if (typeof this.getTabBar === 'function' && this.getTabBar()) {
440 440 this.getTabBar().setData({
441 441 cartGoodsNum: getApp().globalData.cartGoodsNum
... ...
pages/user/index/index.js
... ... @@ -132,7 +132,7 @@ Page({
132 132 privacy_pop.check_pri_show();
133 133 }
134 134  
135   - getApp().check_can_share();
  135 + getApp().check_can_share(this);
136 136 //看一下小程序是不是过期了
137 137 getApp().getConfig2(function (config2) {
138 138 if (config2 && config2.is_overdue == 1) {
... ...