mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 20:04:09 +00: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:
@@ -58,6 +58,10 @@ export default {
|
|||||||
this.initialize();
|
this.initialize();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
destroyed() {
|
||||||
|
clearTimeout(this.timer);
|
||||||
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
swipes() {
|
swipes() {
|
||||||
this.initialize();
|
this.initialize();
|
||||||
|
Reference in New Issue
Block a user