biz9-logic 3.5.33 → 3.5.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/biz9_config +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -400,7 +400,7 @@ class Storage {
|
|
|
400
400
|
static KEY_USER="key_user";
|
|
401
401
|
static KEY_GUEST="key_guest";
|
|
402
402
|
static get = (window,key) => {
|
|
403
|
-
return window.localStorage.getItem(
|
|
403
|
+
return JSON.parse(window.localStorage.getItem(key));
|
|
404
404
|
}
|
|
405
405
|
static set = (window,key,obj) => {
|
|
406
406
|
window.localStorage.setItem(key,JSON.stringify(obj));
|