Skip to content
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

新闻里面下拉刷新以后就无法触发上拉加载更多了啊 #7

Open
qq459114173 opened this issue Jun 18, 2020 · 1 comment

Comments

@qq459114173
Copy link

新闻里面下拉刷新以后就无法触发上拉加载更多了啊,这是个bug啊

@dcloudhdx
Copy link
Contributor

第一次是10条,触发loadmore后记录的数据长度,数据被更新到20条后,记录的仍然是10条,下拉刷新后还是10条
下拉刷新后和上次上拉后的数据长度没有变化,所以没有再次触发loadmore,此时需要调用 this.$refs["list"].resetLoadmore();
参考文档 https://uniapp.dcloud.net.cn/component/list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants