@xuda.io/xuda-worker-bundle 1.3.2645 → 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.
Files changed (2) hide show
  1. package/index.js +2 -3
  2. 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
- value = await func.common.get_cast_val(SESSION_ID, 'xu-bind', 'value', input_field_type, raw_value);
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle",
3
- "version": "1.3.2645",
3
+ "version": "1.3.2647",
4
4
  "description": "xuda framework",
5
5
  "main": "index.js",
6
6
  "scripts": {