Drawer: fix append to body (#21264)

This commit is contained in:
好多大米 2021-08-26 15:46:34 +08:00 committed by GitHub
parent cd44289adf
commit f71afe023c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -190,6 +190,9 @@ export default {
if (this.visible) {
this.rendered = true;
this.open();
if (this.appendToBody) {
document.body.appendChild(this.$el);
}
}
},
destroyed() {