mirror of
https://github.com/youzan/vant.git
synced 2026-03-07 02:01:06 +08:00
[bugfix] Swipe: autoplay not stop when value set to 0 (#660)
This commit is contained in:
@@ -72,6 +72,12 @@ export default create({
|
||||
|
||||
initialSwipe() {
|
||||
this.initialize();
|
||||
},
|
||||
|
||||
autoplay(autoplay) {
|
||||
if (!autoplay) {
|
||||
clearTimeout(this.timer);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user