优化文档相关
This commit is contained in:
1 parent
8a0334a020
commit
e340d9a7d1
17 files changed
+3131
-457
No files matched your search
@@ -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 组件
|
||||
|
||||
Reference in new issue
Block a user