fix: child row expand status sync
This commit is contained in:
@@ -112,7 +112,7 @@ const TableRow: React.FC<
|
|||||||
};
|
};
|
||||||
|
|
||||||
const filterUpdateChildrenHandler = () => {
|
const filterUpdateChildrenHandler = () => {
|
||||||
if (!expanded) {
|
if (!expandedRowKeys?.includes(record[rowKey])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const dataList = _.filter(tableContext.allChildren, (data: any) => {
|
const dataList = _.filter(tableContext.allChildren, (data: any) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user