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

This commit is contained in:
advplyr committed 2021-12-20 19:02:52 -06:00
1 parent a913e9811e
commit 8721dbda98
3 files changed
+9 -5

No files matched your search

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