提交 ff4b3a94 编写于 作者: Neuromancer255's avatar Neuromancer255

Revert "列表导航部件调整 --fix2"

This reverts commit e0b38888.
上级 d22609ab
...@@ -22,26 +22,6 @@ ...@@ -22,26 +22,6 @@
*/ */
@Prop() protected fetchAction!: string; @Prop() protected fetchAction!: string;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public getData(): any {
return null;
}
/** /**
* 列表数组 * 列表数组
* *
......
...@@ -32,26 +32,6 @@ ...@@ -32,26 +32,6 @@
*/ */
public searchText:string = ""; public searchText:string = "";
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public getData(): any {
return null;
}
<#if ctrl.getXDataPSControl()??> <#if ctrl.getXDataPSControl()??>
<#assign xDataControl = ctrl.getXDataPSControl() /> <#assign xDataControl = ctrl.getXDataPSControl() />
...@@ -190,12 +170,13 @@ ...@@ -190,12 +170,13 @@
* *
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
public ${ctrl.name}_selectionchange(arg, tag?: string, $event2?: any): void { public ${ctrl.name}_selectionchange(args: any [], tag?: string, $event2?: any): void {
let tempContext:any = {}; let tempContext:any = {};
let tempViewParam:any = {}; let tempViewParam:any = {};
if (!arg) { if (args.length === 0) {
return ; return ;
} }
const arg:any = args[0];
if(this.context){ if(this.context){
Object.assign(tempContext,JSON.parse(JSON.stringify(this.context))); Object.assign(tempContext,JSON.parse(JSON.stringify(this.context)));
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册