From 107edc1584cd8e89a0f85b8fdc120194d1858934 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期四, 25 四月 2024 15:32:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
Source/ProjectWeb/src/components/PLT-basic-component/richText.vue | 25 +++++++++++++++++--------
1 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/Source/ProjectWeb/src/components/PLT-basic-component/richText.vue b/Source/ProjectWeb/src/components/PLT-basic-component/richText.vue
index 662bc32..36cddd7 100644
--- a/Source/ProjectWeb/src/components/PLT-basic-component/richText.vue
+++ b/Source/ProjectWeb/src/components/PLT-basic-component/richText.vue
@@ -12,9 +12,13 @@
class="avatar-uploader">
</el-upload>
<!-- 鍩轰簬elementUi鐨勪笂浼犵粍浠� el-upload end-->
- <quill-editor ref="customQuillEditor" v-model="content" :options="editorOption" class="editor">
+ <quill-editor ref="customQuillEditor" v-model="value" :options="editorOption" class="editor">
</quill-editor>
</div>
+ <!-- <template #footer>-->
+ <!-- <el-button size="small">纭畾</el-button>-->
+ <!-- <el-button size="small" @click="dialogVisible = false">鍏抽棴</el-button>-->
+ <!-- </template>-->
</template>
<script>
@@ -36,6 +40,16 @@
['clean'] // 娓呴櫎鏂囨湰鏍煎紡
];
export default {
+ name: 'richText',
+ props: {
+ visible: {
+ type: Boolean,
+ default: false,
+ },
+ value: {
+ type: String
+ }
+ },
data() {
return {
headers: {
@@ -65,6 +79,7 @@
},
}
},
+ computed: {},
methods: {
//涓婁紶鍥剧墖涔嬪墠async
beforeEditorUpload(file) {
@@ -126,13 +141,7 @@
console.log("寮�濮嬪姞杞�")
// 鍒濆缁欑紪杈戝櫒璁剧疆title
},
- watch: {
- content(newVal, oldVal) {
- //this.$emit('input', newVal);
- console.log(newVal)
- console.log(oldVal)
- }
- },
+ watch: {},
}
--
Gitblit v1.9.3