mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Swipe should clear autoplay timer when destroyed (#218)
* [bugfix] Checkbox border render error in weixin browser * [bugfix] TreeSelect dependency path error * [bugfix] Swipe should clear autoplay timer when destroyed
This commit is contained in:
parent
cea56b7a15
commit
7eeed47203
@ -58,6 +58,10 @@ export default {
|
||||
this.initialize();
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
clearTimeout(this.timer);
|
||||
},
|
||||
|
||||
watch: {
|
||||
swipes() {
|
||||
this.initialize();
|
||||
|
Loading…
x
Reference in New Issue
Block a user