微信小程序下拉刷新真机上部回缩问题解决

加上wx.stopPullDownRefresh();  //停止下拉刷新 

onPullDownRefresh:function(){

this.setData({

p: 1

})

this.getData(1, 0) 

wx.stopPullDownRefresh();  //停止下拉刷新

},

猜你喜欢

转载自blog.csdn.net/Candy_mi/article/details/88182701