兰宝车间质量管理系统-前端
baoshiwei
2025-05-20 e181f04c642204e79749af93fa921875ff6c21ba
src/plugins/cache.ts
@@ -26,6 +26,7 @@
    if (value != null) {
      return JSON.parse(value);
    }
    return null;
  },
  remove(key: string) {
    sessionStorage.removeItem(key);
@@ -59,6 +60,7 @@
    if (value != null) {
      return JSON.parse(value);
    }
    return null;
  },
  remove(key: string) {
    localStorage.removeItem(key);