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

update:调整面板部件模型

上级 98b7db3a
......@@ -9,7 +9,16 @@ import { PanelDetailModel } from './panel-detail';
*/
export class PanelButtonModel extends PanelDetailModel {
/**
* 界面行为
*
* @type {*}
* @memberof PanelButtonModel
*/
public uiaction: any;
constructor(opts: any = {}) {
super(opts);
this.uiaction = opts.uiaction;
}
}
\ No newline at end of file
......@@ -20,7 +20,7 @@ export class PanelDetailModel {
* @type {string}
* @memberof PanelDetailModel
*/
public detailType: string = '';
public itemType: string = '';
/**
* 表单对象
......@@ -63,7 +63,7 @@ export class PanelDetailModel {
*/
constructor(opts: any = {}) {
this.caption = !Object.is(opts.caption, '') ? opts.caption : '';
this.detailType = !Object.is(opts.detailType, '') ? opts.detailType : '';
this.itemType = !Object.is(opts.itemType, '') ? opts.itemType : '';
this.form = opts.form ? opts.form : {};
this.name = !Object.is(opts.name, '') ? opts.name : '';
this.visible = opts.visible ? true : false;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册