Commit e51545c2211b8926e154f69f8b141c89da02be3e

Authored by wangfan
1 parent 977681da

C端调整

Showing 1 changed file with 9 additions and 0 deletions
... ... @@ -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)
... ...