@xuda.io/xuda-worker-bundle-min 1.3.851 → 1.3.853

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 (2) hide show
  1. package/index.js +6 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2810,8 +2810,11 @@ func.datasource.execute = async function (
2810
2810
  _ds.currentRecordId = _ds.finalRecordId;
2811
2811
  };
2812
2812
 
2813
- for await (const [key, val] of Object.entries(_ds.v.raw_data.rows)) {
2814
- const raw_data_row = val.value;
2813
+ for await (const [key, raw_data_row] of Object.entries(
2814
+ _ds.v.raw_data.rows
2815
+ )) {
2816
+ const idx = Number(key);
2817
+
2815
2818
  if (await get_before_record_count()) {
2816
2819
  await func.datasource.execute_view_events(
2817
2820
  SESSION_ID,
@@ -2823,7 +2826,7 @@ func.datasource.execute = async function (
2823
2826
  await func.datasource.run_rows_form(
2824
2827
  SESSION_ID,
2825
2828
  dataSourceSession,
2826
- key,
2829
+ idx,
2827
2830
  raw_data_row
2828
2831
  );
2829
2832
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.851",
3
+ "version": "1.3.853",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {