优化文档相关

This commit is contained in:
2026-09-10 12:57:16 +08:00
parent 8a0334a020
commit e340d9a7d1
17 changed files with 3131 additions and 457 deletions
+5
View File
@@ -18,6 +18,11 @@ import { useAuthStore } from './stores/auth'
// 导入全局组件
import UmoEditor from '@/views/components/UmoEditor.vue';
// 兼容某些依赖(如 HTML→docx 转换库)对 Node 全局变量 global 的引用
if (typeof window !== 'undefined' && !window.global) {
window.global = window;
}
const app = createApp(App)
const pinia = createPinia()
// 全局注册 UmoEditor 组件