@xuda.io/runtime-bundle 1.0.751 → 1.0.753

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.
@@ -32264,7 +32264,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32264
32264
  if (iterate_info.iterator_val === bind_field_id) {
32265
32265
  const arr_idx = Number($elm?.data()?.xuData?.iterate_info._key);
32266
32266
  let new_arr = reference_source_obj.ret.value;
32267
- if (field_prop.props.fieldType === 'object' && !val_is_reference_field) {
32267
+ // if (field_prop.props.fieldType === 'object' && !val_is_reference_field) {
32268
+ if (field_prop.props.fieldType === 'object' && val_is_reference_field) {
32268
32269
  let obj_item = new_arr[arr_idx];
32269
32270
  let e_exp = bind_field_exp.replace('@' + bind_field_id, 'obj_item');
32270
32271
  let new_val = eval(e_exp + `="${value}"`);
@@ -32320,6 +32321,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32320
32321
  value = false;
32321
32322
  }
32322
32323
  }
32324
+ if (field_prop.props.fieldType === 'object' && $elm.attr('type') === 'text' && val.value.split('.').length > 1) {
32325
+ let str = val.value.replace(bind_field_id, '(' + JSON.stringify(value) + ')');
32326
+ value = eval(str);
32327
+ }
32323
32328
  } else {
32324
32329
  value = val.value;
32325
32330
  }