From e846f54f05096d75fa129cf101c13cc955ecc8d1 Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期四, 30 十一月 2023 17:07:44 +0800
Subject: [PATCH] 富文本上传附件功能

---
 src/main.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index 5cf8846..f2db41f 100644
--- a/src/main.js
+++ b/src/main.js
@@ -43,6 +43,10 @@
 // 字典标签组件
 import DictTag from '@/components/DictTag'
 
+import { Boot } from '@wangeditor/editor'
+import attachmentModule from '@wangeditor/plugin-upload-attachment'
+
+Boot.registerModule(attachmentModule)
 const app = createApp(App)
 
 // 全局方法挂载

--
Gitblit v1.9.2