bug
wujingjing
2024-11-05 fbe9f38eaa11c58667d6c91f0b90359cdbcdb8a4
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;