使用v-if控制tinymce的显示和隐藏,等于就是控制组件的创建和销毁。 1.编辑或详情时,open 为 true,tinymce 组件会加载渲染,关闭弹窗,则 open 为 false,组件从document中移除。 2.可与el-dialog框绑定为true时,富文本也为true