biz9-logic 4.8.82 → 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.
Files changed (3) hide show
  1. package/biz9_config +1 -1
  2. package/index.js +4 -6
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='5.6.2'
1
+ VERSION='5.6.3'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
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
- return Obj.check_is_empty(JSON.parse(window.localStorage.getItem(key))) ? window.localStorage.getItem(key) : null;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.82",
3
+ "version": "4.8.83",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"