@xuda.io/xuda-worker-bundle-min 1.3.1383 → 1.3.1384
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 -10
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7869,7 +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
7873
|
for await (const [arr_key, val] of Object.entries(split)) {
|
|
7874
7874
|
// run each field
|
|
7875
7875
|
const key = Number(arr_key);
|
|
@@ -7960,14 +7960,8 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
7960
7960
|
} // put default
|
|
7961
7961
|
fields[val.fieldId] = var_Arr[key].value;
|
|
7962
7962
|
|
|
7963
|
-
const ret = await func.datasource.get_value(
|
|
7964
|
-
|
|
7965
|
-
val.fieldId,
|
|
7966
|
-
dsSessionP,
|
|
7967
|
-
|
|
7968
|
-
rowIdP,
|
|
7969
|
-
); // find field in dataSources
|
|
7970
|
-
|
|
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);
|
|
7971
7965
|
await replace_value_in_string(ret.ret, ret.fieldIdP);
|
|
7972
7966
|
}
|
|
7973
7967
|
}
|
|
@@ -7978,7 +7972,6 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
7978
7972
|
var var_error_found;
|
|
7979
7973
|
// merge arr values
|
|
7980
7974
|
_.forEach(var_Arr, function (val, key) {
|
|
7981
|
-
debugger;
|
|
7982
7975
|
if (sourceP === 'UI Property EXP') {
|
|
7983
7976
|
let ret = func.utils.get_drive_url(SESSION_ID, val.value, true);
|
|
7984
7977
|
if (ret.changed) {
|