mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-04-30 22:29:01 +08:00
fix:修复webStorage拼写问题
This commit is contained in:
parent
aaf8b4e995
commit
952d9c1689
2
src/utils/cache/index.js
vendored
2
src/utils/cache/index.js
vendored
@ -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 })
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user