mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Swipe: autoplay not stop when value set to 0 (#660)
This commit is contained in:
parent
8641701609
commit
39cdaf0907
@ -72,6 +72,12 @@ export default create({
|
||||
|
||||
initialSwipe() {
|
||||
this.initialize();
|
||||
},
|
||||
|
||||
autoplay(autoplay) {
|
||||
if (!autoplay) {
|
||||
clearTimeout(this.timer);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user