mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-20 19:09:21 +08:00
perf: 代码优化 统一 constants 目录下文件名风格
This commit is contained in:
parent
d090c294ae
commit
d3673e431e
2
src/utils/cache/cookies.ts
vendored
2
src/utils/cache/cookies.ts
vendored
@ -1,6 +1,6 @@
|
||||
/** 统一处理 Cookie */
|
||||
|
||||
import CacheKey from "@/constants/cacheKey"
|
||||
import CacheKey from "@/constants/cache-key"
|
||||
import Cookies from "js-cookie"
|
||||
|
||||
export const getToken = () => {
|
||||
|
2
src/utils/cache/localStorage.ts
vendored
2
src/utils/cache/localStorage.ts
vendored
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user