Skip to content

Commit

Permalink
fix: transition component event
Browse files Browse the repository at this point in the history
  • Loading branch information
jackiotyu authored May 10, 2024
1 parent fd5a587 commit 27aa524
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Teleport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ export default {
disabled(value) {
if (value) {
this.disable();
// Ensure all event done.
this.$nextTick(() => {
this.teardownObserver();
});
this.teardownObserver();
} else {
this.bootObserver();
Expand Down

0 comments on commit 27aa524

Please sign in to comment.