@xuda.io/runtime-bundle 1.0.763 → 1.0.765
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.
|
@@ -32268,10 +32268,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32268
32268
|
if (reference_source_obj.ret.type === 'array') {
|
|
32269
32269
|
if (iterate_info.iterator_val === bind_field_id) {
|
|
32270
32270
|
const arr_idx = Number($elm?.data()?.xuData?.iterate_info._key);
|
|
32271
|
-
let new_arr = reference_source_obj.ret.value;
|
|
32271
|
+
let new_arr = _.clone(reference_source_obj.ret.value);
|
|
32272
32272
|
// if (field_prop.props.fieldType === 'object' && !val_is_reference_field) {
|
|
32273
32273
|
if (field_prop.props.fieldType === 'object' && val_is_reference_field) {
|
|
32274
|
-
let obj_item =
|
|
32274
|
+
let obj_item = new_arr[arr_idx];
|
|
32275
32275
|
// let e_exp = bind_field_exp.replace('@' + bind_field_id, 'obj_item');
|
|
32276
32276
|
// let new_val = eval(e_exp + `="${value}"`);
|
|
32277
32277
|
let e_exp = val.value.replace(bind_field_id, 'obj_item');
|
|
@@ -32282,9 +32282,9 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32282
32282
|
} else {
|
|
32283
32283
|
new_arr[arr_idx] = value;
|
|
32284
32284
|
}
|
|
32285
|
-
datasource_changes[_dsP][_ds.currentRecordId][reference_source_obj.fieldIdP] = new_arr;
|
|
32285
|
+
// datasource_changes[_dsP][_ds.currentRecordId][reference_source_obj.fieldIdP] = new_arr;
|
|
32286
32286
|
|
|
32287
|
-
datasource_changes = {
|
|
32287
|
+
let datasource_changes = {
|
|
32288
32288
|
[_dsP]: {
|
|
32289
32289
|
[_ds.currentRecordId]: {
|
|
32290
32290
|
[reference_source_obj.fieldIdP]: new_arr,
|