diff --git a/components/apolloTable/component/Cell.tsx b/components/apolloTable/component/Cell.tsx index 6d6438ec043253a372a1c028effcd057d57f54a8..f6b4c9b90e4293966440f9f5462d54ef533dbba0 100644 --- a/components/apolloTable/component/Cell.tsx +++ b/components/apolloTable/component/Cell.tsx @@ -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); } }; // 切换当前分组展开/收起