From 773913ef89b43a6b7f7527d677d1f7776b27d584 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 25 May 2023 13:40:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=A4=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/qianxinan/AppGroupTags/groupGrouping.vue | 4 ++-- src/project/qianxinan/AppGroupTags/groupList.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 } }) },