Open SplitterChan opened 3 months ago
<a-modal :title="current?.label" :visible="visible" @update:visible="visible => emits('update:visible', visible)"
width="1000px">
<div style="border: 1px solid #ccc">
<Toolbar style="border-bottom: 1px solid #ccc" :editor="editorRef" :default-config="toolbarConfig" />
<Editor style="height: 500px" v-model="editorTxt" :default-config="editorConfig" @onCreated="handleCreated"
mode="default" />
</div>
</a-modal>
这是代码 ` <a-modal :title="current?.label" :visible="visible" @update:visible="visible => emits('update:visible', visible)" width="1000px">
`