@xuda.io/xuda-worker-bundle 1.3.1257 → 1.3.1258
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 +9 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4172,8 +4172,15 @@ func.datasource.update = async function (
|
|
|
4172
4172
|
);
|
|
4173
4173
|
|
|
4174
4174
|
const row_idx = func.common.find_ROWID_idx(_ds, row._ROWID);
|
|
4175
|
-
|
|
4176
|
-
|
|
4175
|
+
if (_ds.data_feed.rows[row_idx][fieldComputed_id] !== ret.result) {
|
|
4176
|
+
_ds.data_feed.rows[row_idx][fieldComputed_id] = ret.result;
|
|
4177
|
+
if (!fields_changed.includes(fieldComputed_id)) {
|
|
4178
|
+
fields_changed.push(fieldComputed_id)
|
|
4179
|
+
}
|
|
4180
|
+
if (!datasource_changed.includes(dsSession)) {
|
|
4181
|
+
datasource_changed.push(dsSession)
|
|
4182
|
+
}
|
|
4183
|
+
}
|
|
4177
4184
|
} catch (err) {
|
|
4178
4185
|
console.error(err);
|
|
4179
4186
|
}
|
|
@@ -4182,9 +4189,6 @@ func.datasource.update = async function (
|
|
|
4182
4189
|
}
|
|
4183
4190
|
await set_fieldComputed_dependencies(dsNo, field_id, dsSession)
|
|
4184
4191
|
}
|
|
4185
|
-
debugger
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
4192
|
|
|
4189
4193
|
}
|
|
4190
4194
|
|