|
|
|
@@ -128,7 +128,7 @@ function ResourceVersion({ |
|
|
|
dataIndex: 'index', |
|
|
|
key: 'index', |
|
|
|
width: 80, |
|
|
|
render(text: string, record: ResourceFileData, index: number) { |
|
|
|
render(_text: string, _record: ResourceFileData, index: number) { |
|
|
|
return <span>{index + 1}</span>; |
|
|
|
}, |
|
|
|
}, |
|
|
|
@@ -137,7 +137,9 @@ function ResourceVersion({ |
|
|
|
dataIndex: 'file_name', |
|
|
|
key: 'file_name', |
|
|
|
render: (text: string, record: ResourceFileData) => ( |
|
|
|
<a onClick={() => downloadAlone(record)}>{text}</a> |
|
|
|
<a className="kf-table-row-link" onClick={() => downloadAlone(record)}> |
|
|
|
{text} |
|
|
|
</a> |
|
|
|
), |
|
|
|
}, |
|
|
|
{ |
|
|
|
|