From fc0646f5a7d8ff66470fc3228ac7cff24497d54c Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期五, 22 八月 2025 17:30:30 +0800 Subject: [PATCH] 添加蓉政通登陆接口 --- src/App.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/App.vue b/src/App.vue index 41ffdd4..e25f1cf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,17 +5,21 @@ </template> <script setup lang="ts"> -import useSettingsStore from '@/store/modules/settings' -import { handleThemeStyle } from '@/utils/theme' +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, removeToken } 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) - }) -}) + handleThemeStyle(useSettingsStore().theme); + }); +}); </script> -- Gitblit v1.8.0