Skip to content

Commit

Permalink
fix(dop): fix table rowkey (erda-project#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zero-Rock authored and erda-bot committed Aug 6, 2021
1 parent 9c796ed commit 5a8f461
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ const MachineTable = ({ list, gotoMachineMonitor, gotoMachineTasks, isFetching =
<Table
className="machine-list-table"
loading={isFetching}
rowKey="ip"
rowKey={(record, index) => `${record.ip}-${index}`}
pagination={false}
bordered
columns={columns}
Expand Down

0 comments on commit 5a8f461

Please # to comment.