Skip to content

footer.triggerAutomaticallyRefreshPercent小于1时,偶尔会同时触发下拉刷新和加载更多#1328

Open
chicwx wants to merge 1 commit into
CoderMJLee:masterfrom
chicwx:master
Open

footer.triggerAutomaticallyRefreshPercent小于1时,偶尔会同时触发下拉刷新和加载更多#1328
chicwx wants to merge 1 commit into
CoderMJLee:masterfrom
chicwx:master

Conversation

@chicwx

@chicwx chicwx commented Aug 13, 2019

Copy link
Copy Markdown

当数据较少且footer.triggerAutomaticallyRefreshPercent小于1时,进行下拉刷新操作会同时触发“下拉刷新”和“加载更多”两个动作

@kennenfromchina

Copy link
Copy Markdown

赞一个,我目前就出现这种情况了,下拉刷新同时调用了header和footer的方法

@ptlCoder

Copy link
Copy Markdown

如果你的值是-20或者更多 只要一下拉肯定会触发的, 只能加个标志位,第一个请求没有结束 另外一个请求就直接return掉 不然弱网情况下会突然请求到两页的数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants