biz9-logic 4.8.167 → 4.8.168
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 +2 -6
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -1505,8 +1505,8 @@ class Url{
|
|
|
1505
1505
|
let action_url= "main/crud/get/"+data_type + "/" + key;
|
|
1506
1506
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,null);
|
|
1507
1507
|
};
|
|
1508
|
-
static get_parent_top = (biz9_config,data_type,id
|
|
1509
|
-
let action_url = "main/crud/get_parent_top/"+data_type+"/"+id
|
|
1508
|
+
static get_parent_top = (biz9_config,data_type,id) => {
|
|
1509
|
+
let action_url = "main/crud/get_parent_top/"+data_type+"/"+id;
|
|
1510
1510
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,null);
|
|
1511
1511
|
};
|
|
1512
1512
|
static search = (biz9_config,data_type) => {
|
|
@@ -1829,7 +1829,6 @@ class Schedule {
|
|
|
1829
1829
|
};
|
|
1830
1830
|
class Storage {
|
|
1831
1831
|
static get = (window,key) => {
|
|
1832
|
-
console.log('Storage.GET');
|
|
1833
1832
|
if(!Obj.check_is_empty(window)){
|
|
1834
1833
|
if(Str.check_is_null(window.localStorage.getItem(key))){
|
|
1835
1834
|
return null;
|
|
@@ -1841,7 +1840,6 @@ class Storage {
|
|
|
1841
1840
|
}
|
|
1842
1841
|
}
|
|
1843
1842
|
static set = (window,key,obj) => {
|
|
1844
|
-
console.log('Storage.SET');
|
|
1845
1843
|
if(!Obj.check_is_empty(window)){
|
|
1846
1844
|
if(window.localStorage){
|
|
1847
1845
|
window.localStorage.setItem(key,JSON.stringify(obj));
|
|
@@ -1849,7 +1847,6 @@ class Storage {
|
|
|
1849
1847
|
}
|
|
1850
1848
|
}
|
|
1851
1849
|
static remove = (window,key) =>{
|
|
1852
|
-
console.log('Storage.REMOVE');
|
|
1853
1850
|
if(!Obj.check_is_empty(window)){
|
|
1854
1851
|
if(window.localStorage){
|
|
1855
1852
|
window.localStorage.removeItem(key);
|
|
@@ -1857,7 +1854,6 @@ class Storage {
|
|
|
1857
1854
|
}
|
|
1858
1855
|
}
|
|
1859
1856
|
static clear = (window) =>{
|
|
1860
|
-
console.log('Storage.CLEAR');
|
|
1861
1857
|
if(!Obj.check_is_empty(window)){
|
|
1862
1858
|
if(window.localStorage){
|
|
1863
1859
|
window.localStorage.clear();
|