@xuda.io/xuda-worker-bundle 1.3.1256 → 1.3.1257

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 +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4153,14 +4153,14 @@ func.datasource.update = async function (
4153
4153
  }
4154
4154
  }
4155
4155
 
4156
- if (!fieldComputed_propExpressions) return
4156
+ if (!fieldComputed_id) return
4157
4157
 
4158
4158
 
4159
4159
  // iterate ds rows
4160
4160
  for (const row of _ds.data_feed?.rows || []) {
4161
4161
  // iterate row fields
4162
4162
  for (const [key, val] of Object.entries(row)) {
4163
- if (key !== field_id) continue
4163
+ if (key !== fieldComputed_id) continue
4164
4164
  try {
4165
4165
 
4166
4166
  let ret = await func.expression.get(
@@ -4173,7 +4173,7 @@ func.datasource.update = async function (
4173
4173
 
4174
4174
  const row_idx = func.common.find_ROWID_idx(_ds, row._ROWID);
4175
4175
 
4176
- _ds.data_feed.rows[row_idx][field_id] = ret.result;
4176
+ _ds.data_feed.rows[row_idx][fieldComputed_id] = ret.result;
4177
4177
  } catch (err) {
4178
4178
  console.error(err);
4179
4179
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle",
3
- "version": "1.3.1256",
3
+ "version": "1.3.1257",
4
4
  "description": "xuda framework",
5
5
  "main": "index.js",
6
6
  "scripts": {