Commit c5c5bbba authored by baiyaaaaa's avatar baiyaaaaa Committed by GitHub

Merge pull request #1364 from QingWei-Li/fix/popper

Popper: fix not destroy in keep-alive mode, fixed #1359
parents ebfcf926 fd08afdd
......@@ -152,5 +152,10 @@ export default {
this.popperElm &&
this.popperElm.parentNode === document.body &&
document.body.removeChild(this.popperElm);
},
// call destroy in keep-alive mode
deactivated() {
this.$options.beforeDestroy[0].call(this);
}
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment