|
...
|
...
|
@@ -649,14 +649,23 @@ Page({ |
|
|
|
tagsChange(e){
|
|
|
|
let id=util.attr(e,'id');
|
|
|
|
let tags=this.data.tags;
|
|
|
|
let activeNum=0;
|
|
|
|
tags.forEach(t=>{
|
|
|
|
if(t.id==id){
|
|
|
|
t.active=!t.active
|
|
|
|
}
|
|
|
|
if(t.active){
|
|
|
|
activeNum++
|
|
|
|
}
|
|
|
|
})
|
|
|
|
this.setData({
|
|
|
|
tags:tags,
|
|
|
|
})
|
|
|
|
this.hasSellerConcat=hasSellerConcat;
|
|
|
|
if(activeNum>0){
|
|
|
|
this.hasSellerConcat=false;
|
|
|
|
this.sellersIds=[];
|
|
|
|
}
|
|
|
|
setTimeout(()=>{
|
|
|
|
this.getMarkers();
|
|
|
|
},0)
|
...
|
...
|
|