zhouwenxuan
2023-08-04 b7d59880975d3aa75760e764c20c2c4217039c78
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) => {