biz9-logic 4.8.81 → 4.8.83
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 +4 -6
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -1472,13 +1472,11 @@ class Schedule {
|
|
|
1472
1472
|
};
|
|
1473
1473
|
class Storage {
|
|
1474
1474
|
static get = (window,key) => {
|
|
1475
|
-
console.log('aaaaaaaa');
|
|
1476
|
-
console.log(window);
|
|
1477
|
-
console.log(key);
|
|
1478
|
-
console.log(window.localStorage.getItem(key));
|
|
1479
|
-
console.log('bbbbbbbbb');
|
|
1480
1475
|
if(window){
|
|
1481
|
-
|
|
1476
|
+
if(Str.check_is_null(window.localStorage.getItem(key))){
|
|
1477
|
+
return null;
|
|
1478
|
+
}else{
|
|
1479
|
+
return JSON.parse(window.localStorage.getItem(key));
|
|
1482
1480
|
}else{
|
|
1483
1481
|
return null;
|
|
1484
1482
|
}
|