doum
20 小时以前 33c2164b1785a4b3c128f71ff577a989e2d91bdc
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++