MrShi
2 天以前 ea2fb93a0dfcde8f5b66825b20f9d9b835a28acc
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++