小程序 swiper bindChange 抖动解决方法

Posted iblackly

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了小程序 swiper bindChange 抖动解决方法相关的知识,希望对你有一定的参考价值。

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

 

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

以上是关于小程序 swiper bindChange 抖动解决方法的主要内容,如果未能解决你的问题,请参考以下文章