liding
2025-05-21 37aa1274e7e075a03dbb8726fbd2f5233c85c83b
src/plugins/cache.js
@@ -26,9 +26,10 @@
    if (value != null) {
      return JSON.parse(value)
    }
    return null
  },
  remove (key) {
    sessionStorage.removeItem(key);
    sessionStorage.removeItem(key)
  }
}
const localCache = {
@@ -59,9 +60,10 @@
    if (value != null) {
      return JSON.parse(value)
    }
    return null
  },
  remove (key) {
    localStorage.removeItem(key);
    localStorage.removeItem(key)
  }
}