src/utils/storage.ts
@@ -51,6 +51,7 @@ // 获取,过期则清除 get(key: string) { const cacheValue: CacheValue<any> = Local.get(key); if(!cacheValue?.expiredTime) return null; if (new Date().getTime() > cacheValue.expiredTime) { Local.remove(key); return null;