Skip to content

Commit 9d9ecfa

Browse files
authored
fix: data-row-key should exist in virtual (#1101)
1 parent 5218e0d commit 9d9ecfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/VirtualTable/BodyLine.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ const BodyLine = React.forwardRef<HTMLDivElement, BodyLineProps>((props, ref) =>
9191
<RowComponent
9292
{...rowProps}
9393
{...restProps}
94+
data-row-key={rowKey}
9495
ref={rowSupportExpand ? null : ref}
9596
className={classNames(className, `${prefixCls}-row`, rowProps?.className, {
9697
[`${prefixCls}-row-extra`]: extra,

0 commit comments

Comments
 (0)