mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
popper: destroy popper instance(#13988)
This commit is contained in:
@@ -205,6 +205,10 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
this.popperVM && this.popperVM.$destroy();
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
const reference = this.referenceElm;
|
||||
off(reference, 'mouseenter', this.show);
|
||||
|
||||
Reference in New Issue
Block a user