From 08792cb2335446dee847353d2263c7e147487038 Mon Sep 17 00:00:00 2001 From: ssc <273702440@qq.com> Date: Wed, 26 Jul 2023 16:32:15 +0800 Subject: [PATCH] fix: event processing lost 'onLoad' --- src/views/plugin/workflow/mixins/ex-form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/plugin/workflow/mixins/ex-form.js b/src/views/plugin/workflow/mixins/ex-form.js index d6fd016..0d13b06 100644 --- a/src/views/plugin/workflow/mixins/ex-form.js +++ b/src/views/plugin/workflow/mixins/ex-form.js @@ -81,7 +81,7 @@ export default { let c = taskForm.find(s => s.id == col[props.prop]) if (c && c.readable) { if (!isExForm) { // 非外置表单 处理事件 - let event = ['change', 'blur', 'click', 'focus', 'lazyLoad'] + let event = ['change', 'blur', 'click', 'focus', 'lazyLoad', 'onLoad'] event.forEach(e => { if (col[e]) col[e] = eval((col[e] + '').replace(/this/g, '_this')) })