fix: fixed rows duplicates after sort by column (#1772)

This commit is contained in:
OutOfEastGate
2023-04-22 20:18:38 +08:00
committed by GitHub
parent 4f8dd771bc
commit a6c7b95f97
13 changed files with 13 additions and 13 deletions

View File

@ -163,7 +163,7 @@ class ModelListPage extends BaseListPage {
return (
<div>
<Table scroll={{x: "max-content"}} columns={columns} dataSource={models} rowKey="name" size="middle" bordered
<Table scroll={{x: "max-content"}} columns={columns} dataSource={models} rowKey={(record) => `${record.owner}/${record.name}`} size="middle" bordered
pagination={paginationProps}
title={() => (
<div>