MrShi
2026-04-29 275596fc999e12e2b6f2f0ea1a0ddcc9efdc6567
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++