destroyed -> unmounted
This commit is contained in:
parent
72956e2343
commit
caed89f0ae
12 changed files with 12 additions and 12 deletions
|
@ -178,7 +178,7 @@ const Popover = {
|
|||
created () {
|
||||
document.addEventListener('click', this.onClickOutside)
|
||||
},
|
||||
destroyed () {
|
||||
unmounted () {
|
||||
document.removeEventListener('click', this.onClickOutside)
|
||||
this.hidePopover()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue