@xuda.io/xuda-worker-bundle-min 1.3.858 → 1.3.860
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 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2730,6 +2730,7 @@ func.datasource.execute = async function (
|
|
|
2730
2730
|
break;
|
|
2731
2731
|
|
|
2732
2732
|
case "component":
|
|
2733
|
+
_raw_data_rows = _.cloneDeep(_ds?.v.raw_data?.rows || []);
|
|
2733
2734
|
_ds.rows_processed = 0;
|
|
2734
2735
|
_ds.viewRangeExp_rows_deleted = 0;
|
|
2735
2736
|
|
|
@@ -2787,7 +2788,7 @@ func.datasource.execute = async function (
|
|
|
2787
2788
|
break;
|
|
2788
2789
|
}
|
|
2789
2790
|
|
|
2790
|
-
_ds.firstRecordId =
|
|
2791
|
+
_ds.firstRecordId = _raw_data_rows[0].id;
|
|
2791
2792
|
|
|
2792
2793
|
const finish_form = async function () {
|
|
2793
2794
|
// check if locatedRecordId exist in SESSION_OBJ[SESSION_ID].DS_GLB
|
|
@@ -2810,9 +2811,7 @@ func.datasource.execute = async function (
|
|
|
2810
2811
|
_ds.currentRecordId = _ds.finalRecordId;
|
|
2811
2812
|
};
|
|
2812
2813
|
|
|
2813
|
-
for await (const [key, raw_data_row] of Object.entries(
|
|
2814
|
-
_ds.v.raw_data.rows
|
|
2815
|
-
)) {
|
|
2814
|
+
for await (const [key, raw_data_row] of Object.entries(_raw_data_rows)) {
|
|
2816
2815
|
const idx = Number(key);
|
|
2817
2816
|
|
|
2818
2817
|
if (await get_before_record_count()) {
|