这是代码
gv8xihay1#
<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>
1条答案
按热度按时间gv8xihay1#