@xuda.io/runtime-bundle 1.0.757 → 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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12651,16 +12651,13 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12651
12651
|
} else {
|
|
12652
12652
|
value = false;
|
|
12653
12653
|
}
|
|
12654
|
-
}
|
|
12655
|
-
|
|
12656
|
-
if (field_prop.props.fieldType === 'array' && $elm.attr('type') === 'radio' && $elm.attr('value')) {
|
|
12654
|
+
} else if (field_prop.props.fieldType === 'array' && $elm.attr('type') === 'radio' && $elm.attr('value')) {
|
|
12657
12655
|
if (value.includes($elm.attr('value'))) {
|
|
12658
12656
|
value = $elm.attr('value');
|
|
12659
12657
|
} else {
|
|
12660
12658
|
value = false;
|
|
12661
12659
|
}
|
|
12662
|
-
}
|
|
12663
|
-
if (field_prop.props.fieldType === 'object' && $elm.attr('type') === 'text' && val.value.split('.').length > 1) {
|
|
12660
|
+
} else if (field_prop.props.fieldType === 'object' && val.value.split('.').length > 1) {
|
|
12664
12661
|
let str = val.value.replace(bind_field_id, '(' + JSON.stringify(value) + ')');
|
|
12665
12662
|
value = eval(str);
|
|
12666
12663
|
}
|
|
@@ -10361,16 +10361,13 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10361
10361
|
} else {
|
|
10362
10362
|
value = false;
|
|
10363
10363
|
}
|
|
10364
|
-
}
|
|
10365
|
-
|
|
10366
|
-
if (field_prop.props.fieldType === 'array' && $elm.attr('type') === 'radio' && $elm.attr('value')) {
|
|
10364
|
+
} else if (field_prop.props.fieldType === 'array' && $elm.attr('type') === 'radio' && $elm.attr('value')) {
|
|
10367
10365
|
if (value.includes($elm.attr('value'))) {
|
|
10368
10366
|
value = $elm.attr('value');
|
|
10369
10367
|
} else {
|
|
10370
10368
|
value = false;
|
|
10371
10369
|
}
|
|
10372
|
-
}
|
|
10373
|
-
if (field_prop.props.fieldType === 'object' && $elm.attr('type') === 'text' && val.value.split('.').length > 1) {
|
|
10370
|
+
} else if (field_prop.props.fieldType === 'object' && val.value.split('.').length > 1) {
|
|
10374
10371
|
let str = val.value.replace(bind_field_id, '(' + JSON.stringify(value) + ')');
|
|
10375
10372
|
value = eval(str);
|
|
10376
10373
|
}
|