diff --git a/packages/swipe/index.vue b/packages/swipe/index.vue index 9dad1cd64..4fc53c6d1 100644 --- a/packages/swipe/index.vue +++ b/packages/swipe/index.vue @@ -72,6 +72,12 @@ export default create({ initialSwipe() { this.initialize(); + }, + + autoplay(autoplay) { + if (!autoplay) { + clearTimeout(this.timer); + } } },