Commit c92d9dbe authored by zhangwenshuai's avatar zhangwenshuai

修改分组所传数据

parent 133f9e6b
......@@ -190,7 +190,12 @@ const Cell = (props: CellProps) => {
});
data = data.concat(selectIds);
}
onChange(data);
const result:any[] = [];
data.map(id=>{
let item=dataSource.find(temp=>temp.id===id);
result.push(item);
});
onChange(result);
}
};
// 切换当前分组展开/收起
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment