mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-14 14:52:49 +00:00
优化
This commit is contained in:
parent
9b8769d0b2
commit
3dd5849c22
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<slot>
|
||||
<el-button @click="open()">点击查看</el-button>
|
||||
<el-button @click="open()">{{ text }}</el-button>
|
||||
</slot>
|
||||
|
||||
<cl-dialog width="1000px" :title="title" append-to-body v-model="visible">
|
||||
@ -39,6 +39,10 @@ const props = defineProps({
|
||||
type: String as PropType<"monaco" | "quill" | "wang">,
|
||||
required: true
|
||||
},
|
||||
text: {
|
||||
type: String,
|
||||
default: "点击查看"
|
||||
},
|
||||
props: Object
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user