小程序 swiper bindChange 抖动解决方法

<swiper bindanimationfinish="Functionr" >
1 function:function(e){
2     this.setData({
3         swiperCurrent: e.detail.current
4     })
5 }

将 bindChange 更换为 bindanimationfinish (滑动动画结束调用)方法即可!

猜你喜欢

转载自www.cnblogs.com/iblackly/p/12744345.html