联动调用方法

原先调用方法

    props.configs.relation.emit({ type, extra, onChangeConfig, onSearch, onSearchAnsSetValue, computedType, isInit, formCode, attrCode })

现在调用

props.configs.relation.emit({ formCode, attrCode, actionCode }, extra);
  • extra: 额外参数,可以传入自定义内容,表格会有index,id
  • actionCode: 触发场景,新增:创建,编辑,新建后关闭触发,编辑后关闭触发
  • attrCode: 组件的Code值
  • formCode: 上级模型Code,可以在设计器查看
作者:黄允桢  创建时间:2022-07-11 11:38
最后编辑:黄允桢  更新时间:2024-12-11 10:09