@xuda.io/xuda-worker-bundle-min 1.3.1064 → 1.3.1065
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/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3401,7 +3401,7 @@ func.datasource.get_field_init_count = async function (
|
|
|
3401
3401
|
for await (const field_obj of _view_obj.progFields) {
|
|
3402
3402
|
var fieldId = field_obj.data.field_id;
|
|
3403
3403
|
|
|
3404
|
-
if (!field_obj
|
|
3404
|
+
if (!field_obj?.triggers?.length) {
|
|
3405
3405
|
continue;
|
|
3406
3406
|
}
|
|
3407
3407
|
for await (const trigger_obj of field_obj.triggers) {
|
|
@@ -3451,7 +3451,7 @@ func.datasource.get_field_init_count = async function (
|
|
|
3451
3451
|
// },
|
|
3452
3452
|
// };
|
|
3453
3453
|
|
|
3454
|
-
_ds.dataSource_init_arr[rowIdP].push
|
|
3454
|
+
_ds.dataSource_init_arr[rowIdP].push({
|
|
3455
3455
|
eventInfo: trigger_obj,
|
|
3456
3456
|
triggerId: trigger_obj.id,
|
|
3457
3457
|
fieldId: fieldId,
|
|
@@ -3468,7 +3468,7 @@ func.datasource.get_field_init_count = async function (
|
|
|
3468
3468
|
prog_id: args.prog_id,
|
|
3469
3469
|
dsSession: dataSourceSession,
|
|
3470
3470
|
},
|
|
3471
|
-
};
|
|
3471
|
+
});
|
|
3472
3472
|
ret++;
|
|
3473
3473
|
}
|
|
3474
3474
|
}
|