This commit is contained in:
qsh
2025-07-17 14:42:31 +08:00
parent e620cc5cd6
commit 9b68a06bae
4 changed files with 82 additions and 1 deletions

View File

@@ -41,9 +41,14 @@ import '@/plugins/tongji' // 百度统计
import Logger from '@/utils/Logger'
import VueDOMPurifyHTML from 'vue-dompurify-html'
import { Boot } from '@wangeditor/editor'
import attachmentModule from '@wangeditor/plugin-upload-attachment'
// 创建实例
const setupAll = async () => {
// 注册。要在创建编辑器之前注册,且只能注册一次,不可重复注册。
Boot.registerModule(attachmentModule)
const app = createApp(App)
await setupI18n(app)