How to realize the drop-down refresh of Mini Program written in wepy framework?

the drop-down refresh code of native Mini Program is as follows

onPullDownRefresh: function () {
    this.onLoad();
    this.onShow();
    wx.stopPullDownRefresh()
}

if you paddle down, you won"t be able to get up, and there is no animation loaded.


your code is written to stop refreshing, of course not.
so

onPullDownRefresh() {
    wx.startPullDownRefresh({
        success: () => {}
    })
}

enablePullDownRefresh: true


doesn't it stop?

wx.stopPullDownRefresh()
Menu