RuoYi
2024-12-30 31cffcb9d4c9c774d824c2eb1adc52abc8a3dfb6
src/plugins/cache.js
@@ -26,6 +26,7 @@
    if (value != null) {
      return JSON.parse(value)
    }
    return null
  },
  remove (key) {
    sessionStorage.removeItem(key);
@@ -59,6 +60,7 @@
    if (value != null) {
      return JSON.parse(value)
    }
    return null
  },
  remove (key) {
    localStorage.removeItem(key);