MrShi
5 天以前 8512a2a1831fe67b2b6f89d220b6b2be9d576cff
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++