mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-15 20:23:50 +08:00
fix: <Link> to <a> and table key
Signed-off-by: WindSpirit <simon343riley@gmail.com>
This commit is contained in:
@ -95,7 +95,7 @@ class UrlTable extends React.Component {
|
||||
];
|
||||
|
||||
return (
|
||||
<Table rowKey="id" columns={columns} dataSource={table.map(row => ({id: row}))} size="middle" bordered pagination={{pageSize: 100}}
|
||||
<Table rowKey="index" columns={columns} dataSource={table.map((row, i) => ({id: row, index: i}))} size="middle" bordered pagination={{pageSize: 100}}
|
||||
title={() => (
|
||||
<div>
|
||||
{this.props.title}
|
||||
|
Reference in New Issue
Block a user