问题:swiper组件自动播放时,左右来回切换闪烁
原因:
解决方案:
不要对current重新赋值,改写一下用cur
swiperChange (e) {
this.setData({
cur: e.detail.current
})
},
问题:swiper组件自动播放时,左右来回切换闪烁
原因:
解决方案:
不要对current重新赋值,改写一下用cur
swiperChange (e) {
this.setData({
cur: e.detail.current
})
},