|
@@ -152,5 +152,10 @@ export default {
|
|
this.popperElm &&
|
|
this.popperElm &&
|
|
this.popperElm.parentNode === document.body &&
|
|
this.popperElm.parentNode === document.body &&
|
|
document.body.removeChild(this.popperElm);
|
|
document.body.removeChild(this.popperElm);
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ // call destroy in keep-alive mode
|
|
|
|
+ deactivated() {
|
|
|
|
+ this.$options.beforeDestroy[0].call(this);
|
|
}
|
|
}
|
|
};
|
|
};
|