From e9e5ddc40616dbf8f201cc5d6bb82f23d5911ed6 Mon Sep 17 00:00:00 2001 From: zhangminghua Date: Tue, 11 Apr 2023 08:49:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=AF=BC=E5=87=BA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/sections/metadataManagement/containers/filesTable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/client/src/sections/metadataManagement/containers/filesTable.js b/web/client/src/sections/metadataManagement/containers/filesTable.js index 6dfa4f4..58c34d8 100644 --- a/web/client/src/sections/metadataManagement/containers/filesTable.js +++ b/web/client/src/sections/metadataManagement/containers/filesTable.js @@ -252,10 +252,10 @@ const FilesTable = (props) => { tableContent += ``; tableContent += `
${cd.name}
`; tableContent += `
${cd.description}
`; - tableContent += `
${cd.type}
`; + tableContent += `
${cd.fileName ? cd.type : ''}
`; let tagName = cd.tagFiles.map(tagSet => tagSet.tag.name); tableContent += `
${tagName.join(',')}
`; - tableContent += `
${cd.size ? getfilesize(cd.size) : ''}
`; + tableContent += `
${cd.fileName && cd.size ? getfilesize(cd.size) : ''}
`; tableContent += `
${moment(cd.updateAt).format('YYYY-MM-DD HH:mm:ss')}
`; tableContent += ``; })