fix(module: table): rows can't rerender in some cases (#3586)

This commit is contained in:
James Yeung 2023-12-24 22:02:20 +08:00 committed by GitHub
parent 1416659c25
commit 8d16de6953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -258,7 +258,7 @@
{
return currentRowData =>
{
return @<TableRowWrapper RowData="currentRowData">
return @<TableRowWrapper RowData="currentRowData" @key="GetHashCode(currentRowData.Data)">
@{
var currentDataItem = currentRowData.DataItem;
var rowAttributes = OnRow?.Invoke(currentRowData);