mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
解决cl-editor-preview自动弹出问题
This commit is contained in:
parent
76547a61c1
commit
1a57ed15a5
@ -1,18 +1,20 @@
|
|||||||
<template>
|
<template>
|
||||||
<cl-dialog width="1000px" :title="title" v-model="visible">
|
<div>
|
||||||
<cl-editor
|
<cl-dialog width="1000px" :title="title" append-to-body v-model="visible">
|
||||||
:name="`cl-editor-${name}`"
|
<cl-editor
|
||||||
:ref="setRefs('editor')"
|
:name="`cl-editor-${name}`"
|
||||||
:height="600"
|
:ref="setRefs('editor')"
|
||||||
v-bind="props.props"
|
:height="600"
|
||||||
v-model="text"
|
v-bind="props.props"
|
||||||
/>
|
v-model="text"
|
||||||
|
/>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button @click="close">关闭</el-button>
|
<el-button @click="close">关闭</el-button>
|
||||||
<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>
|
||||||
|
Loading…
Reference in New Issue
Block a user