@xuda.io/xuda-worker-bundle 1.3.2605 → 1.3.2607

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -663,7 +663,7 @@ func.runtime.bind.update_reference_source_array = async function (options) {
663
663
  if (field_type === 'object' && options.val_is_reference_field) {
664
664
  let obj_item = new_arr[arr_idx];
665
665
  let e_exp = options.expression_value.replace(options.bind_field_id, 'obj_item');
666
- eval(e_exp + (options.input_field_type === 'string' ? `="${options.value}"` : `=${options.value}`));
666
+ eval(e_exp + `=${JSON.stringify(options.value)}`);
667
667
  new_arr[arr_idx] = obj_item;
668
668
  } else {
669
669
  new_arr[arr_idx] = options.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle",
3
- "version": "1.3.2605",
3
+ "version": "1.3.2607",
4
4
  "description": "xuda framework",
5
5
  "main": "index.js",
6
6
  "scripts": {