@xuda.io/xuda-worker-bundle 1.3.1278 → 1.3.1280
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 +8 -9
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -8120,7 +8120,7 @@ func.events.validate = async function (
|
|
|
8120
8120
|
// await func.datasource.update(SESSION_ID, datasource_changes);
|
|
8121
8121
|
// }
|
|
8122
8122
|
|
|
8123
|
-
for await (let [
|
|
8123
|
+
for await (let [key, fieldId] of Object.entries(
|
|
8124
8124
|
val.data.parameters
|
|
8125
8125
|
)) {
|
|
8126
8126
|
const field_info = func.common.find_item_by_key(
|
|
@@ -8147,14 +8147,13 @@ func.events.validate = async function (
|
|
|
8147
8147
|
);
|
|
8148
8148
|
|
|
8149
8149
|
if (!_.isEmpty(args[fieldId].fx)) {
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
).result;
|
|
8150
|
+
const fx_ret = await func.expression.get(
|
|
8151
|
+
SESSION_ID,
|
|
8152
|
+
args[fieldId].fx,
|
|
8153
|
+
dsSessionP,
|
|
8154
|
+
"update"
|
|
8155
|
+
)
|
|
8156
|
+
value = fx_ret.result;
|
|
8158
8157
|
}
|
|
8159
8158
|
// find the target field in the program dataset
|
|
8160
8159
|
const ret = await func.datasource.get_value(
|