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