Commit f71afe02 authored by 好多大米's avatar 好多大米 Committed by GitHub

Drawer: fix append to body (#21264)

parent cd44289a
...@@ -190,6 +190,9 @@ export default { ...@@ -190,6 +190,9 @@ export default {
if (this.visible) { if (this.visible) {
this.rendered = true; this.rendered = true;
this.open(); this.open();
if (this.appendToBody) {
document.body.appendChild(this.$el);
}
} }
}, },
destroyed() { destroyed() {
......
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