From 6d5950607832a82331023b9efa0b66db31dc27bb Mon Sep 17 00:00:00 2001 From: zhangminghua Date: Wed, 29 Mar 2023 09:11:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E8=A1=A8=E5=85=83=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E8=AF=A6=E6=83=85=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../metadataManagement/containers/metadataDetails.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/client/src/sections/metadataManagement/containers/metadataDetails.js b/web/client/src/sections/metadataManagement/containers/metadataDetails.js index fc4b0e4..52e0f8e 100644 --- a/web/client/src/sections/metadataManagement/containers/metadataDetails.js +++ b/web/client/src/sections/metadataManagement/containers/metadataDetails.js @@ -55,8 +55,8 @@ const MetadataDetails = (props) => { 属性 < div style={{ lineHeight: '35px', marginLeft: 32 }}> - {metadataModels && metadataModels.filter(mm => mm.modelType === databasesRecord.type).map(mm => -
{mm.attributeName}:{databasesRecord.attributesParam[mm.attributeCode]}
)} + {databasesRecord.attributesParam ? metadataModels && metadataModels.filter(mm => mm.modelType === databasesRecord.type).map(mm => +
{mm.attributeName}:{databasesRecord.attributesParam[mm.attributeCode]}
) : ''} : <> } @@ -105,7 +105,7 @@ const MetadataDetails = (props) => { } }]; - return + return databasesRecord && ConfigurableTypes['表'].includes(databasesRecord.type) ? null :