From 2aa0b4e521c1d76534fc476c9dabd80e6bc93ab2 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期四, 24 四月 2025 11:22:10 +0800
Subject: [PATCH] update vite.config.js
---
src/plugins/cache.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/plugins/cache.js b/src/plugins/cache.js
index 6f71b8e..e912c9a 100644
--- a/src/plugins/cache.js
+++ b/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);
--
Gitblit v1.9.3