微信小程序之swiper bindchange 陷入死循环的解决方法

背景说明 因为公司需求须要,须要按照返回值设置当前swiper 的curren值,形成swiper的闪烁、抖动问题,如今分享出来个人解决方案web 先来查看swiper 的一些事件方法 属性 类型 默认值 必填 说明 bindchange eventhandle 否 current 改变时会触发 change 事件,event.detail = {current, source} bindtran
相关文章
相关标签/搜索