From 59765cab961847dfd101e69ae6d8d1d501a5284c Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期二, 04 六月 2024 11:10:28 +0800
Subject: [PATCH] 1、ice配置文件上传
---
Source/ProjectWeb/src/components/PLT-basic-component/richText.vue | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/Source/ProjectWeb/src/components/PLT-basic-component/richText.vue b/Source/ProjectWeb/src/components/PLT-basic-component/richText.vue
index 36cddd7..025248d 100644
--- a/Source/ProjectWeb/src/components/PLT-basic-component/richText.vue
+++ b/Source/ProjectWeb/src/components/PLT-basic-component/richText.vue
@@ -1,5 +1,5 @@
<template>
- <div id='quillEditorQiniu'>
+ <div id='quillEditorQiniu' v-if="display">
<!-- 鍩轰簬elementUi鐨勪笂浼犵粍浠� el-upload begin-->
<el-upload
:accept="'image'"
@@ -12,7 +12,7 @@
class="avatar-uploader">
</el-upload>
<!-- 鍩轰簬elementUi鐨勪笂浼犵粍浠� el-upload end-->
- <quill-editor ref="customQuillEditor" v-model="value" :options="editorOption" class="editor">
+ <quill-editor ref="customQuillEditor" v-model="value" :disabled="disabled" :options="editorOption" class="editor">
</quill-editor>
</div>
<!-- <template #footer>-->
@@ -48,6 +48,14 @@
},
value: {
type: String
+ },
+ disabled:{
+ type:Boolean,
+ default:false
+ },
+ display:{
+ type:Boolean,
+ default:true
}
},
data() {
--
Gitblit v1.9.3