小程序 swiper bindChange 抖动解决方法

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

 

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

posted @ 2020-04-21 14:20  letleon  阅读(733)  评论(0编辑  收藏  举报