Commit b7761fcab5cdacf84803f2a1ef5072fee9a4546c
1 parent
9f7bd590
oa单
Showing
1 changed file
with
2 additions
and
2 deletions
pages/user/index/index.js
@@ -560,12 +560,12 @@ Page({ | @@ -560,12 +560,12 @@ Page({ | ||
560 | onShareAppMessage: function () { | 560 | onShareAppMessage: function () { |
561 | getApp().globalData.no_clear = 1; | 561 | getApp().globalData.no_clear = 1; |
562 | var url = "/pages/user/index/index"; | 562 | var url = "/pages/user/index/index"; |
563 | - | 563 | + var userInfo = getApp().globalData.userInfo; |
564 | if (userInfo) { | 564 | if (userInfo) { |
565 | url += "?first_leader=" + getApp().globalData.user_id; | 565 | url += "?first_leader=" + getApp().globalData.user_id; |
566 | } | 566 | } |
567 | var title = "会员中心" | 567 | var title = "会员中心" |
568 | - //分享 | 568 | + //分享 |
569 | if (getApp().globalData.config && getApp().globalData.config.store_name) { | 569 | if (getApp().globalData.config && getApp().globalData.config.store_name) { |
570 | title = getApp().globalData.config.store_name; | 570 | title = getApp().globalData.config.store_name; |
571 | } else if (getApp().globalData.setting.appName) { | 571 | } else if (getApp().globalData.setting.appName) { |