swiper-item显示与current不一致

发布于 7 年前作者 guiyingcao2558 次浏览最后编辑 7 年前来自 ask

问题:        在一个swiper中有三个swiper-item,默认显示current 0,第三个swiper-item中有一个switch开关,当开关开启的时候,重新进入页面 current 0显示的却是第三个swiper-item的内容?各位有遇到这种问题吗

1 回复