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

swiper组件list参数,数组长度发生变化,图片显示不出 #11

Closed
hope-11 opened this issue May 14, 2020 · 2 comments
Closed
Labels
question Further information is requested

Comments

@hope-11
Copy link

hope-11 commented May 14, 2020

小程序中swiper组件list参数,数组长度发生变化,图片显示不出,拖动的时候会出错

VM4497:1 TypeError: Cannot read property '$$' of undefined
at HTMLElement._attached.wx.getPlatform._touchstartHandlerForDevtools

@hope-11
Copy link
Author

hope-11 commented May 20, 2020

swiper的current值大于新的list数组长度导致的。。。请问在list发生改变时可以强制current=0吗?

@tttao7 tttao7 added the question Further information is requested label Jun 19, 2020
@YanxinNet
Copy link
Collaborator

此问题经测试,无法重新,请加群艾特群主或者管理员,提供一个简单的demo供我们排查,群号:249718512

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

No branches or pull requests

3 participants