uses the drop-down refresh of the better-scroll plug-in, but there is a problem, that is, when I drop down, I can"t pull it down in a certain position, so it gets stuck and doesn"t go back to the top.
in html
<scroll
class="scroll"
:pullup="true"
:data="data"
@scrollToEnd="loadMore">
in methods
loadMore() { //
if (!this.hasMoreFlag) {
return
}
if (timer) {
return;
}
timer = setTimeout(() => {
this._getData();
}, 5);
},
how to solve this problem?