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