swiper手动设置current属性,circular衔接效果失效?

发布于 8 年前作者 yong0411575 次浏览最后编辑 8 年前来自 issues

如题,swiper只有两个swiper-item,设置了circular属性,当前index为1,手动设置current为0。

预期效果:第二个滑块向左滑动至第一个滑块

实际效果:第二个滑块向右滑动至第一个滑块

1 回复
xiuyingchang
xiuyingchang1 楼6 年前