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

[New Feature] scroll组件的forceUpdate方法,期望增加参数,用于区别本次操作是针对上拉还是下拉 #607

Open
wj20160318 opened this issue Sep 25, 2019 · 1 comment
Assignees

Comments

@wj20160318
Copy link

What problem does this feature solve?

当上拉和下拉都处于loading状态时,如果调用forceUpdate,会只处理下拉的情况而忽略上拉,因为该方法使用的是if..else if...来判断。
希望增加参数,来让使用者区分。

What does the proposed API look like?

@dolymood
Copy link
Contributor

看了下 应该不是用参数判断,改为不是else if 的方式可能会好点

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

No branches or pull requests

3 participants