biz9-logic 4.8.72 → 4.8.74
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 -2
- package/package.json +1 -1
- package/test.js +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -453,8 +453,7 @@ class Field_Logic {
|
|
|
453
453
|
item = Field_Logic.get_value_list(item,option);
|
|
454
454
|
}
|
|
455
455
|
if(option.fields){
|
|
456
|
-
let field_list = option.fields.split(',');
|
|
457
|
-
Log.w('field_list',field_list);
|
|
456
|
+
let field_list = String(option.fields).split(',');
|
|
458
457
|
for(let a = 0; a<field_list.length;a++){
|
|
459
458
|
if(option.get_blank == true){
|
|
460
459
|
item[field_list[a]] = "";
|
package/package.json
CHANGED
package/test.js
CHANGED
|
@@ -196,7 +196,7 @@ describe("connect", () => {
|
|
|
196
196
|
//let product = Product_Logic.get_test({fields:["cool_beanj]})
|
|
197
197
|
//Log.w("product",product);
|
|
198
198
|
//let product_list = Product_Logic.get_test_list({product_count:10,get_blank:true});
|
|
199
|
-
let product_list = Product_Logic.get_test_list({product_count:2,get_blank:false,fields:'delivery_time,apple'})
|
|
199
|
+
let product_list = Product_Logic.get_test_list({product_count:2,get_blank:false,fields:'delivery_time,apple,basnnah'})
|
|
200
200
|
//let product_list = Product_Logic.get_test_list();
|
|
201
201
|
Log.w('product_list',product_list);
|
|
202
202
|
//let [category_list,product_list]=Product.get_test_list_by_category({category_count:5,product_count:9});
|