Open huangrijian opened 2 years ago
<div id="editor">
<mavon-editor style="height: 100%"></mavon-editor>
<mavon-editor style="height: 100%"></mavon-editor>
<mavon-editor style="height: 100%"></mavon-editor>
<mavon-editor style="height: 100%"></mavon-editor>
</div>
每次渲染mavon-editor组件都会给document多新增一个空的div标签
版本:"mavon-editor": "^2.10.4",
我使用一个信息数组去循环遍历每一条信息数据项,利用mavon-editor组件对信息数据项进行加载, 但是发现每渲染一个mavon-editor组件都会给body新增一个空的div 导致我每次刷新页面都要渲染与信息数组长度相对应的空的div
这非常的耗费性能,并且我也不明白这些空的div有任何作用