@xuda.io/xuda-worker-bundle 1.3.2646 → 1.3.2647
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 +2 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -817,11 +817,10 @@ func.runtime.bind.toggle_array_value = function (arr_value_before_cast, value_fr
|
|
|
817
817
|
};
|
|
818
818
|
func.runtime.bind.get_cast_value = async function (SESSION_ID, field_prop, input_field_type, raw_value) {
|
|
819
819
|
const field_type = func.runtime.bind.get_field_type(field_prop);
|
|
820
|
-
var value = await func.common.get_cast_val(SESSION_ID, 'xu-bind', 'value', field_type, raw_value);
|
|
821
820
|
if (field_type === 'object') {
|
|
822
|
-
|
|
821
|
+
return await func.common.get_cast_val(SESSION_ID, 'xu-bind', 'value', input_field_type, raw_value);
|
|
823
822
|
}
|
|
824
|
-
return value;
|
|
823
|
+
return await func.common.get_cast_val(SESSION_ID, 'xu-bind', 'value', field_type, raw_value);
|
|
825
824
|
};
|
|
826
825
|
func.runtime.bind.get_source_value = function (_ds, bind_field_id, is_dynamic_field) {
|
|
827
826
|
if (is_dynamic_field) {
|