diff --git a/subpages/home/pages/noticeNew/noticeNew.js b/subpages/home/pages/noticeNew/noticeNew.js index a0bb103..a253eda 100644 --- a/subpages/home/pages/noticeNew/noticeNew.js +++ b/subpages/home/pages/noticeNew/noticeNew.js @@ -26,7 +26,7 @@ Page({ noticelist() { let that = this - if(that.data.noticeCategory =='notice_navigation_hot'){ + if(that.data.noticeCategory =='notice_navigation_new'){ that.setData({ pageIndex:1 }) @@ -125,7 +125,7 @@ Page({ */ onReachBottom: function () { console.log(this.data.noticeCategory) - if(this.data.noticeCategory !='notice_navigation_hot'){ + if(this.data.noticeCategory !='notice_navigation_new'){ this.setData({ loadMoreVisible: true })