Commit bf714976b4cb9ccf70ff29154be3fdf731199568

Authored by wangfan
1 parent e51545c2

C端调整

Showing 1 changed file with 12 additions and 6 deletions
@@ -545,11 +545,15 @@ Page({ @@ -545,11 +545,15 @@ Page({
545 multiIndex:val 545 multiIndex:val
546 }) 546 })
547 this.hasSellerConcat=hasSellerConcat; 547 this.hasSellerConcat=hasSellerConcat;
  548 + this.sellersIds=[];
548 if(val[0]>0){ 549 if(val[0]>0){
549 this.hasSellerConcat=false; 550 this.hasSellerConcat=false;
550 - this.sellersIds=[]; 551 + }else{
  552 + this.setData({
  553 + markers:[],
  554 + })
551 } 555 }
552 - this.getMarkers(); 556 + setTimeout(()=>{this.getMarkers();},0)
553 }, 557 },
554 setSuggestion(suggestion){ 558 setSuggestion(suggestion){
555 let map=this.data.map; 559 let map=this.data.map;
@@ -662,13 +666,15 @@ Page({ @@ -662,13 +666,15 @@ Page({
662 tags:tags, 666 tags:tags,
663 }) 667 })
664 this.hasSellerConcat=hasSellerConcat; 668 this.hasSellerConcat=hasSellerConcat;
  669 + this.sellersIds=[];
665 if(activeNum>0){ 670 if(activeNum>0){
666 this.hasSellerConcat=false; 671 this.hasSellerConcat=false;
667 - this.sellersIds=[]; 672 + }else{
  673 + this.setData({
  674 + markers:[],
  675 + })
668 } 676 }
669 - setTimeout(()=>{  
670 - this.getMarkers();  
671 - },0) 677 + setTimeout(()=>{this.getMarkers();},0)
672 678
673 }, 679 },
674 }) 680 })