Skip to content

Commit

Permalink
fix[litemall-wx]: linlinjava#473
Browse files Browse the repository at this point in the history
  • Loading branch information
linlinjava committed May 19, 2021
1 parent 47e6e25 commit ce2720b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion litemall-wx/pages/comment/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ Page({
this.getCommentList();
},
onPullDownRefresh() {
this.setData({
allCommentList: [],
allPage: 1,
picCommentList: [],
picPage: 1,
comments: []
});
wx.showNavigationBarLoading() //在标题栏中显示加载
this.getCommentCount();
this.getCommentList();
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit ce2720b

Please sign in to comment.