[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:
neverland 2017-10-17 21:57:46 -05:00 committed by GitHub
parent cea56b7a15
commit 7eeed47203

View File

@ -58,6 +58,10 @@ export default {
this.initialize();
},
destroyed() {
clearTimeout(this.timer);
},
watch: {
swipes() {
this.initialize();