From fb6fb889fa31e7ba3e28683e53641cd9a4d480f6 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期一, 06 十一月 2023 18:02:33 +0800 Subject: [PATCH] 修改视频专网 --- src/App.vue | 20 +++++++++++++++++--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 41ffdd4..4eaa6b3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,15 +5,29 @@ </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(() => { +import router from './router'; +import { to as tos } from "await-to-js"; +import useUserStore from "@/store/modules/user"; + + + + + + +onMounted(async () => { + + await nextTick(() => { // 鍒濆鍖栦富棰樻牱寮� handleThemeStyle(useSettingsStore().theme) }) -- Gitblit v1.8.0