perf: storage hooks

This commit is contained in:
paobai
2021-11-16 15:52:58 +08:00
committed by GitHub
parent 35f2f9e93f
commit 7aa895a2b7

View File

@@ -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));
}
// 删