|
@@ -400,6 +400,7 @@ function record(props) {
|
400
|
400
|
]
|
401
|
401
|
const list = data.records
|
402
|
402
|
const _list = list && list.length > 0 ? [totalRow, ...list] : [];
|
|
403
|
+ let row = 0
|
403
|
404
|
return (
|
404
|
405
|
|
405
|
406
|
<>
|
|
@@ -454,7 +455,7 @@ function record(props) {
|
454
|
455
|
导出
|
455
|
456
|
</Button>
|
456
|
457
|
</AuthButton>
|
457
|
|
- <Table rowKey={(index => { index })}
|
|
458
|
+ <Table rowKey={record => data.current * data.size + (row++)}
|
458
|
459
|
style={{ marginTop: '30px' }}
|
459
|
460
|
dataSource={_list}
|
460
|
461
|
// dataSource={data.records}
|