mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
perf: storage hooks
This commit is contained in:
@@ -20,7 +20,7 @@ class sessionStorageProxy implements ProxyStorage {
|
||||
|
||||
// 取
|
||||
public getItem(key: string): any {
|
||||
return JSON.parse(this.storage.getItem(key)) || null;
|
||||
return JSON.parse(this.storage.getItem(key));
|
||||
}
|
||||
|
||||
// 删
|
||||
|
||||
Reference in New Issue
Block a user