Skip to content

Commit

Permalink
Merge pull request #66 from coinsandsteeldev/patch-1
Browse files Browse the repository at this point in the history
fix: Reset this.af when deactivated
  • Loading branch information
shhdgit committed Oct 22, 2020
2 parents e821d64 + 4ae8d65 commit 8b4e115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/slider.vue
Expand Up @@ -155,6 +155,7 @@ export default {
deactivated() {
this.timer && clearInterval(this.timer)
this.af && this.af.destroy()
this.af = null
},
methods: {
Expand Down

0 comments on commit 8b4e115

Please sign in to comment.