-
Notifications
You must be signed in to change notification settings - Fork 70
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
外部通过currentIndex属性从数组中获取值时可能会越界 #17
Comments
具体怎么越界的 能否提供demo, 或者详细描述下怎么发生的 |
一个cell 和 多个cell 我都试过了 currentIndex 并没有问题 |
我看了你的代码,你在内部使用currentIndex的时候做了纠正处理,但是并没有针对外部调用的时候考虑临界值的问题 |
把滚动间隔时间设置的大一点,就容易复现了 |
已修复,非常感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
定时器任务中currentIndex++造成的,建议优化
The text was updated successfully, but these errors were encountered: