Commit 218591cc by 夏新然

修改分时统计选择门店BUG

1 parent c433a2f7
......@@ -116,6 +116,7 @@
});
return;
}
console.log('aa',this.cacheList)
this.$store.dispatch('malls/updateMultiCheckedMall', this.checkedMallIds)
uni.reLaunch({
url: `${this.backUrl}?type=${this.analysisLevel}`
......@@ -152,8 +153,18 @@
cb(result);
},
allClickHandle() {
this.checkedMallIds=[];
this.isAll = !this.isAll;
this.cacheList.forEach(item => item._selected = this.isAll)
this.cacheList.forEach(item => {
item._selected = this.isAll
if(this.isAll){
this.checkedMallIds.push({
id:item.id,
name: item.name
})
}
})
},
itemFun(index) {
this.cacheList[index]._selected = !this.cacheList[index]._selected;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!