From 4c173b743e256132e27096d38f8c9d436c13ee45 Mon Sep 17 00:00:00 2001 From: yangyin <18723093654@163.com> Date: 星期三, 11 十二月 2024 11:49:57 +0800 Subject: [PATCH] 新增切换主题 --- src/main.ts | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main.ts b/src/main.ts index 2310fef..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); -- Gitblit v1.9.3