| | |
| | | |
| | | <script setup lang="ts"> |
| | | import axios from 'axios'; |
| | | 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'; |
| | | import { createUser } from "@/api/system/oss"; |
| | | import { setToken } from "@/utils/auth"; |
| | | import usePermissionStore from "@/store/modules/permission"; |
| | | import { isHttp } from "@/utils/validate"; |
| | | 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); |
| | | |
| | | 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) |
| | | }) |
| | | }) |
| | | handleThemeStyle(useSettingsStore().theme); |
| | | }); |
| | | }); |
| | | </script> |