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 :