Skip to content

Commit adf710c

Browse files
committed
feat: 自动 offset
1 parent a63d6a7 commit adf710c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Body/BodyRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function getCellProps<RecordType>(
8282

8383
// For expandable row with rowSpan,
8484
// We should increase the rowSpan if the row is expanded
85-
if (expandable) {
85+
if (expandable && rowSpan !== undefined) {
8686
let currentRowSpan = rowSpan;
8787

8888
for (let i = index; i < index + rowSpan; i += 1) {

0 commit comments

Comments
 (0)