Commit 3277f795792ca9e39d1488142a1b05df1848e722

Authored by taiyuan
2 parents 6c4216cd 8faf04dd

Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev

Showing 1 changed file with 1 additions and 2 deletions
pages/index/index/index.js
@@ -578,7 +578,6 @@ Page({ @@ -578,7 +578,6 @@ Page({
578 frontColor: "#000000", 578 frontColor: "#000000",
579 backgroundColor: "#eeeeee" 579 backgroundColor: "#eeeeee"
580 }));--*/ 580 }));--*/
581 -  
582 }, 581 },
583 jumpSearch: function() { 582 jumpSearch: function() {
584 wx.navigateTo({ 583 wx.navigateTo({
@@ -589,7 +588,7 @@ Page({ @@ -589,7 +588,7 @@ Page({
589 var url="/pages/index/index/index"; 588 var url="/pages/index/index/index";
590 var userInfo=getApp().globalData.userInfo; 589 var userInfo=getApp().globalData.userInfo;
591 //是分销商才带 590 //是分销商才带
592 - if(userInfo && userInfo['is_distribut']==1){ 591 + if(userInfo){
593 url+="?first_leader="+userInfo.user_id; 592 url+="?first_leader="+userInfo.user_id;
594 } 593 }
595 console.log("---首页---分享--"); 594 console.log("---首页---分享--");