某些情况下会使页面无法正确渲染

pull/21879/head
xkq 2022-05-24 18:34:21 +08:00
parent 2f4f6962c6
commit 340a53d4f9
1 changed files with 3 additions and 1 deletions

View File

@ -197,7 +197,9 @@
this.rendered = true;
this.open();
if (this.appendToBody) {
document.body.appendChild(this.$el);
this.$nextTick(()=>{
document.body.appendChild(this.$el);
});
}
}
},