Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Drawer: fix append to body (ElemeFE#21264)
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1707 authored and CarterLi committed Nov 19, 2021
1 parent 4af5595 commit 3d42dc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/drawer/src/main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ export default {
if (this.visible) {
this.rendered = true;
this.open();
if (this.appendToBody) {
document.body.appendChild(this.$el);
}
}
},
destroyed() {
Expand Down

0 comments on commit 3d42dc6

Please sign in to comment.