Commit e51545c2211b8926e154f69f8b141c89da02be3e

Authored by wangfan
1 parent 977681da

C端调整

Showing 1 changed file with 9 additions and 0 deletions
@@ -649,14 +649,23 @@ Page({ @@ -649,14 +649,23 @@ Page({
649 tagsChange(e){ 649 tagsChange(e){
650 let id=util.attr(e,'id'); 650 let id=util.attr(e,'id');
651 let tags=this.data.tags; 651 let tags=this.data.tags;
  652 + let activeNum=0;
652 tags.forEach(t=>{ 653 tags.forEach(t=>{
653 if(t.id==id){ 654 if(t.id==id){
654 t.active=!t.active 655 t.active=!t.active
655 } 656 }
  657 + if(t.active){
  658 + activeNum++
  659 + }
656 }) 660 })
657 this.setData({ 661 this.setData({
658 tags:tags, 662 tags:tags,
659 }) 663 })
  664 + this.hasSellerConcat=hasSellerConcat;
  665 + if(activeNum>0){
  666 + this.hasSellerConcat=false;
  667 + this.sellersIds=[];
  668 + }
660 setTimeout(()=>{ 669 setTimeout(()=>{
661 this.getMarkers(); 670 this.getMarkers();
662 },0) 671 },0)