提交 276f90d3 编写于 作者: Shine-zwj's avatar Shine-zwj

表格分组---fix3

上级 ddb1d067
......@@ -1495,10 +1495,10 @@ ${gridColumn.getName()}
groupTree.push(tree);
});
let child:Array<any> = [];
this.items.forEach((item: any)=>{
this.items.forEach((item: any,index: number)=>{
let i = allGroup.findIndex((group: any)=>Object.is(group.label,item[this.groupAppField]));
if(i < 0){
item.groupById = Number((allGroup.length+1) * 10 + (allGroup.length+1) * 1);
item.groupById = Number((allGroup.length+1) * 10 + (index+1) * 1);
item.group = '';
child.push(item);
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册