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
只要加载一次后,就加载所有的数据,这显示不是我们想要的。 解决方案:分步骤
直接上代码 setTimeout(() => { this.isGetList=false; //设置监听 //关键的来了,解决加载一次后,下次滚动不能加载的问题(只能回退一下才能继续加载),this.scrollEle为滚动的元素。 if(scrollTop>0){ this.scrollEle.scrollTo(0,scrollTop) } },100)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
只要加载一次后,就加载所有的数据,这显示不是我们想要的。
解决方案:分步骤
直接上代码
setTimeout(() => {
this.isGetList=false; //设置监听
//关键的来了,解决加载一次后,下次滚动不能加载的问题(只能回退一下才能继续加载),this.scrollEle为滚动的元素。
if(scrollTop>0){
this.scrollEle.scrollTo(0,scrollTop)
}
},100)
The text was updated successfully, but these errors were encountered: