@xuda.io/xuda-worker-bundle-min 1.3.1389 → 1.3.1391
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 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7869,7 +7869,6 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
7869
7869
|
var split = [];
|
|
7870
7870
|
var var_Arr = [];
|
|
7871
7871
|
split = func.expression.parse(ret);
|
|
7872
|
-
|
|
7873
7872
|
for await (const [arr_key, val] of Object.entries(split)) {
|
|
7874
7873
|
// run each field
|
|
7875
7874
|
const key = Number(arr_key);
|
|
@@ -7960,8 +7959,14 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
7960
7959
|
} // put default
|
|
7961
7960
|
fields[val.fieldId] = var_Arr[key].value;
|
|
7962
7961
|
|
|
7963
|
-
const ret = await func.datasource.get_value(
|
|
7964
|
-
|
|
7962
|
+
const ret = await func.datasource.get_value(
|
|
7963
|
+
SESSION_ID,
|
|
7964
|
+
val.fieldId,
|
|
7965
|
+
dsSessionP,
|
|
7966
|
+
|
|
7967
|
+
rowIdP,
|
|
7968
|
+
); // find field in dataSources
|
|
7969
|
+
|
|
7965
7970
|
await replace_value_in_string(ret.ret, ret.fieldIdP);
|
|
7966
7971
|
}
|
|
7967
7972
|
}
|