解决cl-editor-preview自动弹出问题

This commit is contained in:
icssoa 2023-04-19 02:15:32 +08:00
parent 76547a61c1
commit 1a57ed15a5

View File

@ -1,5 +1,6 @@
<template> <template>
<cl-dialog width="1000px" :title="title" v-model="visible"> <div>
<cl-dialog width="1000px" :title="title" append-to-body v-model="visible">
<cl-editor <cl-editor
:name="`cl-editor-${name}`" :name="`cl-editor-${name}`"
:ref="setRefs('editor')" :ref="setRefs('editor')"
@ -13,6 +14,7 @@
<el-button type="success" @click="toCopy">复制</el-button> <el-button type="success" @click="toCopy">复制</el-button>
</template> </template>
</cl-dialog> </cl-dialog>
</div>
</template> </template>
<script lang="ts" name="cl-editor-preview" setup> <script lang="ts" name="cl-editor-preview" setup>