diff --git a/src/project/qianxinan/AppGroupTags/groupGrouping.vue b/src/project/qianxinan/AppGroupTags/groupGrouping.vue index ec815783..a05a67f5 100644 --- a/src/project/qianxinan/AppGroupTags/groupGrouping.vue +++ b/src/project/qianxinan/AppGroupTags/groupGrouping.vue @@ -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}¤t=${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 } }) }, diff --git a/src/project/qianxinan/AppGroupTags/groupList.vue b/src/project/qianxinan/AppGroupTags/groupList.vue index 7e48dd97..eaa94b1e 100644 --- a/src/project/qianxinan/AppGroupTags/groupList.vue +++ b/src/project/qianxinan/AppGroupTags/groupList.vue @@ -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 } }) },