WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 8a9dc10

Browse files
committed
fix: Popover fix
1 parent 327b18a commit 8a9dc10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vue-components/popover/Popover.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export default {
7070
})
7171
},
7272
beforeDestroy () {
73-
if (this.anchorClick) {
73+
if (this.anchorClick && this.anchorEl) {
7474
this.anchorEl.removeEventListener('click', this.toggle)
7575
}
7676
this.close()

0 commit comments

Comments
 (0)