@xuda.io/runtime-bundle 1.0.756 → 1.0.758
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.
|
@@ -32273,9 +32273,9 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32273
32273
|
let obj_item = new_arr[arr_idx];
|
|
32274
32274
|
// let e_exp = bind_field_exp.replace('@' + bind_field_id, 'obj_item');
|
|
32275
32275
|
// let new_val = eval(e_exp + `="${value}"`);
|
|
32276
|
-
let
|
|
32276
|
+
let e_exp = val.value.replace(bind_field_id, 'obj_item');
|
|
32277
32277
|
|
|
32278
|
-
eval(
|
|
32278
|
+
let new_val = eval(e_exp + `="${value}"`);
|
|
32279
32279
|
|
|
32280
32280
|
new_arr[arr_idx] = obj_item;
|
|
32281
32281
|
} else {
|
|
@@ -32320,16 +32320,13 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32320
32320
|
} else {
|
|
32321
32321
|
value = false;
|
|
32322
32322
|
}
|
|
32323
|
-
}
|
|
32324
|
-
|
|
32325
|
-
if (field_prop.props.fieldType === 'array' && $elm.attr('type') === 'radio' && $elm.attr('value')) {
|
|
32323
|
+
} else if (field_prop.props.fieldType === 'array' && $elm.attr('type') === 'radio' && $elm.attr('value')) {
|
|
32326
32324
|
if (value.includes($elm.attr('value'))) {
|
|
32327
32325
|
value = $elm.attr('value');
|
|
32328
32326
|
} else {
|
|
32329
32327
|
value = false;
|
|
32330
32328
|
}
|
|
32331
|
-
}
|
|
32332
|
-
if (field_prop.props.fieldType === 'object' && $elm.attr('type') === 'text' && val.value.split('.').length > 1) {
|
|
32329
|
+
} else if (field_prop.props.fieldType === 'object' && val.value.split('.').length > 1) {
|
|
32333
32330
|
let str = val.value.replace(bind_field_id, '(' + JSON.stringify(value) + ')');
|
|
32334
32331
|
value = eval(str);
|
|
32335
32332
|
}
|