fix: event processing lost 'onLoad'

master
ssc 2 years ago
parent 77dc077daa
commit 08792cb233
  1. 2
      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'))
})

Loading…
Cancel
Save