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

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() {