Fix:Remove dropdown menus on component destroy and edit modal keep alive #245

This commit is contained in:
advplyr 2021-12-20 19:02:52 -06:00
parent a913e9811e
commit 8721dbda98
3 changed files with 9 additions and 5 deletions

View file

@ -127,6 +127,9 @@ export default {
document.removeEventListener('scroll', this.scroll, true)
}
},
mounted() {}
mounted() {},
beforeDestroy() {
if (this.menu) this.menu.remove()
}
}
</script>