mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-28 20:03:57 +00:00
browser row-key
This commit is contained in:
@@ -31,7 +31,7 @@ function Browser (props) {
|
||||
render: (text, it) => <Tag color={status[it.status].color}>{text}%</Tag>
|
||||
}
|
||||
]
|
||||
return <Table pagination={false} showHeader={false} columns={columns} key={(record, key) => key} dataSource={props.data} />
|
||||
return <Table pagination={false} showHeader={false} columns={columns} rowKey={(record, key) => key} dataSource={props.data} />
|
||||
}
|
||||
|
||||
Browser.propTypes = {
|
||||
|
||||
Reference in New Issue
Block a user