|
|
@ -70,7 +70,7 @@ function buildColumns(that, student_works) {
|
|
|
|
render: (text, record, index) => {
|
|
|
|
render: (text, record, index) => {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<span style={{ minWidth: '50px', display: 'inline-block', textAlign: 'center' }} >
|
|
|
|
<span style={{ minWidth: '50px', display: 'inline-block', textAlign: 'center' }} >
|
|
|
|
{record.isMine == true ? '我' : (that.state.page - 1) * PAGE_SIZE + index + 1}
|
|
|
|
{record.isMine == true && (student_works && student_works.length) ? '我' : (that.state.page - 1) * PAGE_SIZE + index + 1}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
)},
|
|
|
|
)},
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|