@xuda.io/xuda-worker-bundle-min 1.3.830 → 1.3.831
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 +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2634,12 +2634,12 @@ func.datasource.execute = async function (
|
|
|
2634
2634
|
!_ds?.data_feed?.rows?.length
|
|
2635
2635
|
) {
|
|
2636
2636
|
_ds.set_mode = "C";
|
|
2637
|
-
data_arr = [{ _ROWID: newRecord }];
|
|
2637
|
+
data_arr = [{ _ROWID: "newRecord" }];
|
|
2638
2638
|
}
|
|
2639
2639
|
|
|
2640
2640
|
if (tree_obj.crudMode === "C") {
|
|
2641
2641
|
_ds.set_mode = "C";
|
|
2642
|
-
data_arr = [{ _ROWID: newRecord }];
|
|
2642
|
+
data_arr = [{ _ROWID: "newRecord" }];
|
|
2643
2643
|
}
|
|
2644
2644
|
|
|
2645
2645
|
for await (let val of data_arr) {
|
|
@@ -2706,7 +2706,7 @@ func.datasource.execute = async function (
|
|
|
2706
2706
|
await func.datasource.render_fields_form(
|
|
2707
2707
|
SESSION_ID,
|
|
2708
2708
|
dataSourceSession,
|
|
2709
|
-
{ _ROWID: newRecord } // { id: "newRecord", value: {} },
|
|
2709
|
+
{ _ROWID: "newRecord" } // { id: "newRecord", value: {} },
|
|
2710
2710
|
// null,
|
|
2711
2711
|
// false,
|
|
2712
2712
|
// "newRecord"
|
|
@@ -3129,7 +3129,7 @@ func.datasource.run_rows_form = async function (
|
|
|
3129
3129
|
idx = rowIdxP;
|
|
3130
3130
|
} else {
|
|
3131
3131
|
const newRecord = 999999;
|
|
3132
|
-
val = _ds.data_feed.rows[newRecord] = { _ROWID: newRecord };
|
|
3132
|
+
val = _ds.data_feed.rows[newRecord] = { _ROWID: "newRecord" };
|
|
3133
3133
|
idx = newRecord;
|
|
3134
3134
|
}
|
|
3135
3135
|
} catch (e) {
|