提交 5f7c2fae 编写于 作者: Mosher's avatar Mosher

增加面板操作栏模型数据传递

上级 e2efefe9
......@@ -50,6 +50,14 @@ import UIService from '@/uiservice/ui-service';
*/
@Prop() public inputData?: any;
/**
* 操作栏模型数据
*
* @type {*}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
@Prop() public actionModel?: any;
/**
* UI数据对象
*
......
......@@ -4,6 +4,8 @@
:context="context"
:parentRef="thisRef"
:inputData="item"
:actionModel="actionModel ? actionModel : null"
@uiAction="(item, action, event) => { uiAction(item, action, event); }"
@panelDataChange="($event)=>{onPanelDataChange(item,$event)}"
name="${ctrl.name}"
ref='${ctrl.name}'>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册