biz9-logic 4.8.82 → 4.8.84
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 +9 -6
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -1472,14 +1472,17 @@ class Schedule {
|
|
|
1472
1472
|
};
|
|
1473
1473
|
class Storage {
|
|
1474
1474
|
static get = (window,key) => {
|
|
1475
|
-
console.log('
|
|
1476
|
-
console.log(window);
|
|
1477
|
-
console.log(key);
|
|
1478
|
-
console.log(window.localStorage.getItem(key));
|
|
1479
|
-
console.log('bbbbbbbbb');
|
|
1475
|
+
console.log('aaaaaaa');
|
|
1480
1476
|
if(window){
|
|
1481
|
-
|
|
1477
|
+
console.log('bbbbbb');
|
|
1478
|
+
if(Str.check_is_null(window.localStorage.getItem(key))){
|
|
1479
|
+
console.log('cccccc');
|
|
1480
|
+
return null;
|
|
1481
|
+
}else{
|
|
1482
|
+
console.log('dddddd');
|
|
1483
|
+
return JSON.parse(window.localStorage.getItem(key));
|
|
1482
1484
|
}else{
|
|
1485
|
+
console.log('eeeeeee');
|
|
1483
1486
|
return null;
|
|
1484
1487
|
}
|
|
1485
1488
|
}
|