From 1d557a24f9370a7f21412ef21a2f0df594eae86b Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 23 十二月 2023 19:45:47 +0800 Subject: [PATCH] update 优化 ws开关改为常开(vite5修复了崩溃bug) --- 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