From f2ca7c5f9fbc4201b5a5bb490e43b1615b6a0dda Mon Sep 17 00:00:00 2001 From: qirong <2032486488@qq.com> Date: 星期三, 28 二月 2024 10:04:03 +0800 Subject: [PATCH] 修改 --- src/App.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 41ffdd4..a124b45 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,15 +5,25 @@ </template> <script setup lang="ts"> +import axios from 'axios'; import useSettingsStore from '@/store/modules/settings' import { handleThemeStyle } from '@/utils/theme' import useAppStore from '@/store/modules/app'; - +import { createUser } from "@/api/system/oss"; +import { setToken } from "@/utils/auth"; +import usePermissionStore from "@/store/modules/permission"; +import { isHttp } from "@/utils/validate"; const appStore = useAppStore(); const size = computed(() => appStore.size as any); -onMounted(() => { - nextTick(() => { + + + + + +onMounted(async () => { + + await nextTick(() => { // 鍒濆鍖栦富棰樻牱寮� handleThemeStyle(useSettingsStore().theme) }) -- Gitblit v1.8.0