fix:修复webStorage拼写问题

This commit is contained in:
zhangchuanlong 2022-01-09 23:24:29 +08:00
parent aaf8b4e995
commit 952d9c1689

View File

@ -5,5 +5,5 @@ export const createLocalStorage = function (option = {}) {
} }
export const createSessionStorage = function (option = {}) { export const createSessionStorage = function (option = {}) {
return createWebStorage({ prefixKey: option.prefixKey || '', storage: localStorage }) return createWebStorage({ prefixKey: option.prefixKey || '', storage: sessionStorage })
} }