From b3987b1ccb0bb810d88c1538ef2066ca96a075b7 Mon Sep 17 00:00:00 2001 From: qirong <2032486488@qq.com> Date: 星期四, 07 十二月 2023 14:28:08 +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