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

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 +7 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3102,9 +3102,14 @@ func.datasource.get_field_init_count = async function (
3102
3102
  continue;
3103
3103
  }
3104
3104
  for await (const trigger_obj of field_obj.triggers) {
3105
- if (!oninit_triggers_to_runP?.includes(trigger_obj.id)) continue;
3106
3105
  if (
3107
- trigger_obj.data.trigger === "oninit" &&
3106
+ oninit_triggers_to_runP &&
3107
+ !oninit_triggers_to_runP?.includes(trigger_obj.id)
3108
+ ) {
3109
+ continue;
3110
+ }
3111
+ if (
3112
+ // trigger_obj.data.trigger === "oninit" &&
3108
3113
  ["get_data", "set_data", "batch", "update", "raise_event"].includes(
3109
3114
  trigger_obj.data.action
3110
3115
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.523",
3
+ "version": "1.3.525",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {