From 497f98a2a835800b9dd74898c96a4a087a911159 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期三, 27 十一月 2024 19:50:47 +0800 Subject: [PATCH] 修复默认关闭Tags-Views时,内链页面打不开 --- 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