diff --git a/components/ui/DropdownMenu.vue b/components/ui/DropdownMenu.vue index fc3c3a81..493abf8d 100644 --- a/components/ui/DropdownMenu.vue +++ b/components/ui/DropdownMenu.vue @@ -95,6 +95,11 @@ export default { this.$emit('action', itemValue) } }, - mounted() {} + mounted() {}, + beforeDestroy() { + if (this.menu) { + this.menu.remove() + } + } } \ No newline at end of file