From 952d9c168990751a060e1be14d2302d15cf5e4fc Mon Sep 17 00:00:00 2001 From: zhangchuanlong Date: Sun, 9 Jan 2022 23:24:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8DwebStorage=E6=8B=BC?= =?UTF-8?q?=E5=86=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/cache/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/cache/index.js b/src/utils/cache/index.js index a96c066..427257c 100644 --- a/src/utils/cache/index.js +++ b/src/utils/cache/index.js @@ -5,5 +5,5 @@ export const createLocalStorage = function (option = {}) { } export const createSessionStorage = function (option = {}) { - return createWebStorage({ prefixKey: option.prefixKey || '', storage: localStorage }) + return createWebStorage({ prefixKey: option.prefixKey || '', storage: sessionStorage }) }