From cb086431b7bf52354f537b37c6afc32e4ba1439c Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 4 Mar 2022 13:58:56 +0800 Subject: [PATCH] bug --- src/apps/AppIntegralAudit/AppIntegralAudit.vue | 4 ++-- src/apps/AppVillagersCircle/commentList.vue | 2 +- src/apps/AppVillagersCircle/infoList.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/AppIntegralAudit/AppIntegralAudit.vue b/src/apps/AppIntegralAudit/AppIntegralAudit.vue index 0e59b1c5..4c821df0 100644 --- a/src/apps/AppIntegralAudit/AppIntegralAudit.vue +++ b/src/apps/AppIntegralAudit/AppIntegralAudit.vue @@ -81,7 +81,7 @@ export default { } }).then(res => { if(res?.data){ - this.integralList = this.current > 1 ? res.data.records:[...this.integralList, ...res.data.records] + this.integralList = this.current > 1 ? [...this.integralList, ...res.data.records]:res.data.records this.$forceUpdate() this.flag = true } @@ -108,7 +108,7 @@ export default { document.title = '积分审核' }, onReachBottom() { - this.current ++ + this.current ++, this.getList() } } diff --git a/src/apps/AppVillagersCircle/commentList.vue b/src/apps/AppVillagersCircle/commentList.vue index 4bffe69d..24986122 100644 --- a/src/apps/AppVillagersCircle/commentList.vue +++ b/src/apps/AppVillagersCircle/commentList.vue @@ -90,7 +90,7 @@ export default { } }).then(res=>{ if(res?.data) { - this.data = this.current >1 ? res.data.records:[...this.data, ...res.data.records] + this.data = this.current >1 ? [...this.data, ...res.data.records]:res.data.records } }) }, diff --git a/src/apps/AppVillagersCircle/infoList.vue b/src/apps/AppVillagersCircle/infoList.vue index 66ef1653..f67bccd8 100644 --- a/src/apps/AppVillagersCircle/infoList.vue +++ b/src/apps/AppVillagersCircle/infoList.vue @@ -79,7 +79,7 @@ export default { } }).then(res=>{ if(res?.data) { - this.villagerList = this.current >1 ? res.data.records:[...this.villagerList,...res.data.records] + this.villagerList = this.current >1 ? [...this.villagerList,...res.data.records]:res.data.records } }) },