autoplay中添加这个参数就行disableOnInteraction: false,
var swiper = new Swiper('#swiperOne', {
autoplayDisableOnInteraction: false,
autoplay: {
disableOnInteraction: false,
delay: 1000
},
loop: true,
});
autoplayDisableOnInteraction : false无效
autoplayDisableOnInteraction: false,//这个加了没啥用
on: {
slideChangeTransitionEnd: function() {
this.autoplay.start();//就加这个玩意儿
},
}