From 229f760165072ef03699584c9bb2f5c07291c26d Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Wed, 04 Feb 2026 15:05:32 +0800
Subject: [PATCH] 1

---
 src/views/modules/config/news-add-or-update.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/modules/config/news-add-or-update.vue b/src/views/modules/config/news-add-or-update.vue
index 9471d91..cb71f55 100644
--- a/src/views/modules/config/news-add-or-update.vue
+++ b/src/views/modules/config/news-add-or-update.vue
@@ -86,9 +86,7 @@
         </el-date-picker>
       </el-form-item>
       <el-form-item label="内容" prop="content">
-        <el-input type="textarea" placeholder="请输入内容" v-model="dataForm.content" maxlength="500"
-          :autosize="{ minRows: 8, maxRows: 8 }" show-word-limit>
-        </el-input>
+        <quill-editor v-model="dataForm.content" :options="editorOption" />
       </el-form-item>
     </el-form>
     <span slot="footer" class="dialog-footer">
@@ -210,6 +208,10 @@
       dialogVisible: false,
       dialogImageUrl: "",
       tempKey: -666666, // 临时key, 用于解决tree半选中状态项不能传给后台接口问题. # 待优化
+      editorOption: {
+        placeholder: '请输入内容',
+        theme: 'snow'
+      }
     };
   },
   methods: {

--
Gitblit v1.9.3