fix: child row expand status sync

This commit is contained in:
jialin
2025-01-22 15:33:12 +08:00
parent d1369e765a
commit b3beae44df
@@ -112,7 +112,7 @@ const TableRow: React.FC<
};
const filterUpdateChildrenHandler = () => {
if (!expanded) {
if (!expandedRowKeys?.includes(record[rowKey])) {
return;
}
const dataList = _.filter(tableContext.allChildren, (data: any) => {