From ca29a54a8e883a0aed528fc27627e109b4fc4467 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期一, 04 十二月 2023 09:33:20 +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