小程序swiper 快速滑动闪屏

bindchange: function(e){
     if(e.detail.source == "touch") {
            this.setData({
                current: current
            })
        }   
}

当快速滑动时,e.detail.source 不是touch 所以我们判断一下,当为touch时候,再去赋值