From 0124bb334e5d7ae1774c26d1925e0e94a6ba3b0d Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 02 一月 2025 11:00:05 +0800 Subject: [PATCH] 整理PlayBar.vue组件,提取 useInputEvent --- 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