MrShi
2026-04-29 34543971457e9e00346afeec14c5aa857f7d4387
small-program/pages/message/message.vue
@@ -55,6 +55,13 @@
         this.noticeList = []
         this.getNoticeList()
      },
      onLoad() {
         uni.$on('loginOut', () => {
            this.noticeList = []
            this.pageNum = 1
            this.total = 0
         })
      },
      onReachBottom() {
         if (this.noticeList.length < this.total) {
            this.pageNum++