onPullDownRefresh() {
this.init();
setTimeout(() => {
wx.stopPullDownRefresh();
}, 600);
},
the above code is the page initialization after the drop-down refresh. Because the drop-down cannot be stopped automatically on the real machine, it must be stopped manually by calling wx.stopPullDownRefresh (), but now the global pull-down "enablePullDownRefresh" is opened: after true, each page has a drop-down refresh function, and there are many pages, so you can"t add wx.stopPullDownRefresh () to every page, is it? Is there a better solution?