@xuda.io/xuda-worker-bundle-min 1.3.524 → 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.
- package/index.js +3 -3
- 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 =
|
|
3019
|
+
var cond = val?.eventInfo?.data?.condition;
|
|
3020
3020
|
var expression = undefined;
|
|
3021
|
-
if (val.
|
|
3021
|
+
if (val.eventInfo.props.condition)
|
|
3022
3022
|
expression = val.fieldProp.condition[val.triggerId];
|
|
3023
3023
|
var expCond = {};
|
|
3024
3024
|
if (expression && !_.isEmpty(expression)) {
|
|
@@ -3109,7 +3109,7 @@ func.datasource.get_field_init_count = async function (
|
|
|
3109
3109
|
continue;
|
|
3110
3110
|
}
|
|
3111
3111
|
if (
|
|
3112
|
-
trigger_obj.data.trigger === "oninit" &&
|
|
3112
|
+
// trigger_obj.data.trigger === "oninit" &&
|
|
3113
3113
|
["get_data", "set_data", "batch", "update", "raise_event"].includes(
|
|
3114
3114
|
trigger_obj.data.action
|
|
3115
3115
|
)
|