diff --git a/litemall-wx/pages/comment/comment.js b/litemall-wx/pages/comment/comment.js index ada797f5..9c30d6bb 100644 --- a/litemall-wx/pages/comment/comment.js +++ b/litemall-wx/pages/comment/comment.js @@ -67,6 +67,13 @@ Page({ this.getCommentList(); }, onPullDownRefresh() { + this.setData({ + allCommentList: [], + allPage: 1, + picCommentList: [], + picPage: 1, + comments: [] + }); wx.showNavigationBarLoading() //在标题栏中显示加载 this.getCommentCount(); this.getCommentList(); @@ -109,7 +116,6 @@ Page({ this.getCommentList(); }, onReachBottom: function() { - console.log('onPullDownRefresh'); if (this.data.showType == 0) { if (this.data.allCount / this.data.limit < this.data.allPage) {