@xuda.io/xuda-worker-bundle-min 1.3.525 → 1.3.526

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3016,9 +3016,9 @@ func.datasource.execute_field_init_events = async function (
3016
3016
 
3017
3017
  for await (const [key, val] of Object.entries(arr)) {
3018
3018
  if (!func.utils.is_onscreen_event(val.eventInfo.data.action)) {
3019
- var cond = true;
3019
+ var cond = val?.eventInfo?.data?.condition;
3020
3020
  var expression = undefined;
3021
- if (val.fieldProp.condition && val.fieldProp.condition[val.triggerId])
3021
+ if (val.eventInfo.props.condition)
3022
3022
  expression = val.fieldProp.condition[val.triggerId];
3023
3023
  var expCond = {};
3024
3024
  if (expression && !_.isEmpty(expression)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.525",
3
+ "version": "1.3.526",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {