统一导入

This commit is contained in:
2025-10-05 20:07:41 +08:00
parent 2b93a9e849
commit 7e6d03ca1a
77 changed files with 211 additions and 211 deletions

View File

@@ -1,5 +1,5 @@
import { getWebsiteConfig } from "~/oj/api"
import { WebsiteConfig } from "~/utils/types"
import { getWebsiteConfig } from "oj/api"
import { WebsiteConfig } from "utils/types"
export const useConfigStore = defineStore("config", () => {
const config = ref<WebsiteConfig>({

View File

@@ -1,6 +1,6 @@
import { PROBLEM_PERMISSION, STORAGE_KEY, USER_TYPE } from "utils/constants"
import storage from "utils/storage"
import { Profile, User } from "~/utils/types"
import { Profile, User } from "utils/types"
import { getProfile } from "../api"
import { useConfigStore } from "./config"