From 2ffb9f460e73eb28980c7d19b7cec417c942f750 Mon Sep 17 00:00:00 2001 From: gerson <1405270578@qq.com> Date: 星期日, 22 十二月 2024 17:58:51 +0800 Subject: [PATCH] 一次性同步测试 --- src/main.ts | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main.ts b/src/main.ts index 8998ea1..6f33284 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,7 +12,9 @@ import '/@/theme/index.scss'; import '@amap/amap-jsapi-types'; import { getAllData } from './stores/chatRoom'; +import { setTheme } from '/@/utils/theme'; +setTheme(); const app = createApp(App); for (const [key, component] of Object.entries(ElementPlusIconsVue)) { app.component(key, component); @@ -20,6 +22,7 @@ directive(app); other.elSvg(app); + (async function () { await initBackEndControlRoutes(); app.use(pinia).use(router).use(ElementPlus).use(i18n).mount('#app'); -- Gitblit v1.9.3