|
|
|
@@ -126,7 +126,7 @@ const Dataset = () => { |
|
|
|
}; |
|
|
|
const getDatasetVersions = (params) => { |
|
|
|
getDatasetVersionIdList(params).then((res) => { |
|
|
|
setWordList(res.data); |
|
|
|
setWordList(res?.data?.content ?? []); |
|
|
|
}); |
|
|
|
}; |
|
|
|
const handleChange = (value) => { |
|
|
|
@@ -277,7 +277,9 @@ const Dataset = () => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ marginBottom: '10px', fontSize: '14px' }}> |
|
|
|
{wordList.length > 0 ? wordList[0].description : null} |
|
|
|
{wordList.length > 0 && wordList[0].description |
|
|
|
? '版本描述:' + wordList[0].description |
|
|
|
: null} |
|
|
|
</div> |
|
|
|
<Table columns={columns} dataSource={wordList} pagination={false} rowKey="id" /> |
|
|
|
</div> |
|
|
|
|