mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +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();
|
this.initialize();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
destroyed() {
|
||||||
|
clearTimeout(this.timer);
|
||||||
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
swipes() {
|
swipes() {
|
||||||
this.initialize();
|
this.initialize();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user