页面切换后swiper滚动函数还一直在触发
onHide的时候设置autoPlay => false
从 1.4.0 开始,change事件增加 source字段,表示导致变更的原因,可能值如下:
change
source
autoplay
touch
可以用source判断是自动还是用户滑动