mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 17:07:19 +08:00
perf: storage hooks
This commit is contained in:
parent
35f2f9e93f
commit
7aa895a2b7
@ -20,7 +20,7 @@ class sessionStorageProxy implements ProxyStorage {
|
|||||||
|
|
||||||
// 取
|
// 取
|
||||||
public getItem(key: string): any {
|
public getItem(key: string): any {
|
||||||
return JSON.parse(this.storage.getItem(key)) || null;
|
return JSON.parse(this.storage.getItem(key));
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删
|
// 删
|
||||||
|
Loading…
x
Reference in New Issue
Block a user