fix: 🐛 缓存命名更改全局调整

This commit is contained in:
Ray.Hao
2025-08-15 09:42:25 +08:00
parent a5da8d5788
commit 54d1621dc5
4 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
import { Storage } from "./storage";
import { AUTH_KEYS } from "@/constants";
// 更语义化的命名:仅负责本地凭证与偏好的读写
// 负责本地凭证与偏好的读写
export const AuthStorage = {
getAccessToken(): string {
const isRememberMe = Storage.get<boolean>(AUTH_KEYS.REMEMBER_ME, false);