-
Notifications
You must be signed in to change notification settings - Fork 415
添加之后,不停地调用加载方法 #35
New issue
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
Comments
一样,我在请求为空后,并设置 infinite-scroll-disabled 为 true,还是会不停的请求 |
试了一下,似乎设置 如果有问题,请提供 demo。 |
调用方法别带括号 |
tianjianchn
added a commit
to tianjianchn/vue-infinite-scroll
that referenced
this issue
Oct 10, 2017
修复以下情况下会导致无限调用 loadMore 的情况: 1. 当调用 loadMore,产生新的高度变化,但是这个高度不够 infinite-scroll-distance 时,导致再次调用 loadMore 2. 当调用 loadMore 时,由于底部有加载动作条渲染,而实际上又没有新的数据(比如接口返回零行),导致无限调用 loadMore ElemeFE#35 ElemeFE#18
This was referenced Oct 10, 2017
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
规律是每次请求回来的list如果是空就会触发无限加载。
The text was updated successfully, but these errors were encountered: