@xuda.io/xuda-worker-bundle-min 1.3.525 → 1.3.527
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,10 +3016,10 @@ 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?.enabled;
|
|
3020
3020
|
var expression = undefined;
|
|
3021
|
-
if (val.
|
|
3022
|
-
expression = val.
|
|
3021
|
+
if (val.eventInfo.props.condition)
|
|
3022
|
+
expression = val.eventInfo.props.condition;
|
|
3023
3023
|
var expCond = {};
|
|
3024
3024
|
if (expression && !_.isEmpty(expression)) {
|
|
3025
3025
|
// check if expression exist
|