fix[litemall-wx]: #473

This commit is contained in:
linlinjava
2021-05-19 23:48:16 +08:00
parent 47e6e25495
commit ce2720b5e7

View File

@@ -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) {