群标签

This commit is contained in:
liuye
2023-05-25 13:40:23 +08:00
parent 82022c4c38
commit 773913ef89
2 changed files with 4 additions and 4 deletions

View File

@@ -62,8 +62,8 @@
if(this.current > this.pages) return
this.$http.post(`/app/wxcp/wxgroupchattag/queryGroupByTagId?tagId=${this.tagId}&departId=${this.departId}&name=${this.keyword}&current=${this.current}`).then(res=> {
if(res?.data) {
this.list = this.current == 1 ? res.data.records : [...this.list, ...rs,data.records]
this.pages = res.data.total
this.list = this.current == 1 ? res.data.records : [...this.list, ...res.data.records]
this.pages = res.data.pages
}
})
},

View File

@@ -69,8 +69,8 @@
res.data.records.map((item) => {
item.isCheck = false
})
this.list = this.current == 1 ? res.data.records : [...this.list, ...rs,data.records]
this.pages = res.data.total
this.list = this.current == 1 ? res.data.records : [...this.list, ...res.data.records]
this.pages = res.data.pages
}
})
},