@@ -121,6 +121,7 @@ loadingDirective.install = Vue => {
el.mask.parentNode.removeChild(el.mask);
toggleLoading(el, { value: false, modifiers: binding.modifiers });
}
+ el.instance && el.instance.$destroy();
});
};
@@ -205,6 +205,10 @@ export default {
},
+ beforeDestroy() {
+ this.popperVM && this.popperVM.$destroy();
+ },
+
destroyed() {
const reference = this.referenceElm;
off(reference, 'mouseenter', this.show);