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 }) }