From 6432d165c71213f90cda5c4ae250dd5b83a8cc05 Mon Sep 17 00:00:00 2001 From: ahao <liuhaoai545@gmail.com> Date: 星期五, 05 一月 2024 12:06:10 +0800 Subject: [PATCH] update 修复启动弹出cjs废弃警告 --- src/App.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 41ffdd4..a93790a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,17 +5,17 @@ </template> <script setup lang="ts"> -import useSettingsStore from '@/store/modules/settings' -import { handleThemeStyle } from '@/utils/theme' +import useSettingsStore from '@/store/modules/settings'; +import { handleThemeStyle } from '@/utils/theme'; import useAppStore from '@/store/modules/app'; const appStore = useAppStore(); -const size = computed(() => appStore.size as any); +const size = computed(() => appStore.size); onMounted(() => { nextTick(() => { // 鍒濆鍖栦富棰樻牱寮� - handleThemeStyle(useSettingsStore().theme) - }) -}) + handleThemeStyle(useSettingsStore().theme); + }); +}); </script> -- Gitblit v1.9.3