'admin-21.05.27:新增utils下的storage.js读取浏览器缓存新写法,建议使用'
This commit is contained in:
parent
dca87eea7e
commit
4cc95c4f8f
@ -70,7 +70,7 @@ export const Session = {
|
||||
return JSON.parse(json);
|
||||
},
|
||||
// 移除临时缓存
|
||||
removeLocal(key: string) {
|
||||
remove(key: string) {
|
||||
window.sessionStorage.removeItem(key);
|
||||
},
|
||||
// 移除全部临时缓存
|
||||
|
Loading…
Reference in New Issue
Block a user