From b7d59880975d3aa75760e764c20c2c4217039c78 Mon Sep 17 00:00:00 2001 From: zhouwenxuan <1175765986@qq.com> Date: 星期五, 04 八月 2023 09:17:25 +0800 Subject: [PATCH] 叫应率修改 --- pages/tabBar/notice/notice.vue | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/tabBar/notice/notice.vue b/pages/tabBar/notice/notice.vue index fbacbc5..e2111ae 100644 --- a/pages/tabBar/notice/notice.vue +++ b/pages/tabBar/notice/notice.vue @@ -172,7 +172,7 @@ }, methods: { getNoticeList() { - this.loading = true + this.loading = true this.noSpeak = 0; // this.data.searchParams.readStatus = this.isReadOnly ? 0 : null; this.data.searchParams.readStatus = null; @@ -181,13 +181,13 @@ getNotice(this.data).then(res => { if (res.code == 100) { // this.noticeList = res.data ? res.data : []; - let list = res.data?res.data: []; - if (res.pageIndex != 1) { - this.noticeList = this.noticeList.concat(list) - } else { - this.noticeList = list; - } - this.total = res.total + let list = res.data?res.data: []; + if (res.pageIndex != 1) { + this.noticeList = this.noticeList.concat(list) + } else { + this.noticeList = list; + } + this.total = res.total this.noticeListCopy = this.noticeList; if (this.noticeList.length > 0) { this.noticeList.forEach((item, index) => { -- Gitblit v1.9.2