From 2dbc91653aab6d6cc6b3458ff862cafd1d6b70c9 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期五, 18 四月 2025 14:43:50 +0800 Subject: [PATCH] 新增默认打包配置项 --- 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