diff --git a/src/constants/cacheKey.ts b/src/constants/cache-key.ts similarity index 100% rename from src/constants/cacheKey.ts rename to src/constants/cache-key.ts diff --git a/src/utils/cache/cookies.ts b/src/utils/cache/cookies.ts index 537d6c6..21d938f 100644 --- a/src/utils/cache/cookies.ts +++ b/src/utils/cache/cookies.ts @@ -1,6 +1,6 @@ /** 统一处理 Cookie */ -import CacheKey from "@/constants/cacheKey" +import CacheKey from "@/constants/cache-key" import Cookies from "js-cookie" export const getToken = () => { diff --git a/src/utils/cache/localStorage.ts b/src/utils/cache/localStorage.ts index db03729..7b601ef 100644 --- a/src/utils/cache/localStorage.ts +++ b/src/utils/cache/localStorage.ts @@ -1,6 +1,6 @@ /** 统一处理 localStorage */ -import CacheKey from "@/constants/cacheKey" +import CacheKey from "@/constants/cache-key" import { type SidebarOpened, type SidebarClosed } from "@/constants/app-key" import { type ThemeName } from "@/hooks/useTheme"