We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在 pullRefresh里面调用 sl.refreshData();每次下拉刷新很奇怪,拉到下拉动画刚完成的时候释放鼠标可以正常刷新,但是拉太远以后再释放鼠标只能加载一段数据就卡在loadMore动画一直没反应了。用triggerPullResfresh();也完全正常。大佬这是什么原因? me.scrollLoader = new Scrollload({ container: me.get("#drop-file-list")[0], content: me.get("#file-list")[0], window: me.get("#drop-file-list")[0], enableLoadMore: true, loadMore: function (sl) { me.loadFiles(function (files) { if (files && files.length > 0) { sl.unLock(); } else { sl.noMoreData(); } }, function (xhr) { sl.throwException(); }); }, enablePullRefresh: true,//关闭下拉刷新 pullRefresh: function (sl) { sl.refreshComplete(); me.nextpage = 0; me.chooseFile(null); me.get("#file-list").empty(); sl.refreshData(); } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我在 pullRefresh里面调用 sl.refreshData();每次下拉刷新很奇怪,拉到下拉动画刚完成的时候释放鼠标可以正常刷新,但是拉太远以后再释放鼠标只能加载一段数据就卡在loadMore动画一直没反应了。用triggerPullResfresh();也完全正常。大佬这是什么原因?
me.scrollLoader = new Scrollload({
container: me.get("#drop-file-list")[0],
content: me.get("#file-list")[0],
window: me.get("#drop-file-list")[0],
enableLoadMore: true,
loadMore: function (sl) {
me.loadFiles(function (files) {
if (files && files.length > 0) {
sl.unLock();
}
else {
sl.noMoreData();
}
}, function (xhr) {
sl.throwException();
});
},
enablePullRefresh: true,//关闭下拉刷新
pullRefresh: function (sl) {
sl.refreshComplete();
me.nextpage = 0;
me.chooseFile(null);
me.get("#file-list").empty();
sl.refreshData();
}
});
The text was updated successfully, but these errors were encountered: