mirror of https://github.com/ElemeFE/element
某些情况下会使页面无法正确渲染
parent
2f4f6962c6
commit
340a53d4f9
|
@ -197,7 +197,9 @@
|
|||
this.rendered = true;
|
||||
this.open();
|
||||
if (this.appendToBody) {
|
||||
document.body.appendChild(this.$el);
|
||||
this.$nextTick(()=>{
|
||||
document.body.appendChild(this.$el);
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue