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>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<slot>
|
<slot>
|
||||||
<el-button @click="open()">点击查看</el-button>
|
<el-button @click="open()">{{ text }}</el-button>
|
||||||
</slot>
|
</slot>
|
||||||
|
|
||||||
<cl-dialog width="1000px" :title="title" append-to-body v-model="visible">
|
<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">,
|
type: String as PropType<"monaco" | "quill" | "wang">,
|
||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
|
text: {
|
||||||
|
type: String,
|
||||||
|
default: "点击查看"
|
||||||
|
},
|
||||||
props: Object
|
props: Object
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user