Commit 4b2d2066 by zhaochengxiang

资产目录没传时 路径不显示

parent 76a649c6
...@@ -49,12 +49,16 @@ const AssetDetail = (props)=>{ ...@@ -49,12 +49,16 @@ const AssetDetail = (props)=>{
return( return(
<Spin spinning={loading}> <Spin spinning={loading}>
<Descriptions column={2}> {
<Descriptions.Item label='路径'> ((dirId||'')!=='') && <React.Fragment>
{asset.currentPath||''} <Descriptions column={2}>
</Descriptions.Item> <Descriptions.Item label='路径'>
</Descriptions> {asset.currentPath||''}
<Divider style={{ margin: '10px 0' }} /> </Descriptions.Item>
</Descriptions>
<Divider style={{ margin: '10px 0' }} />
</React.Fragment>
}
{ {
(types||[]).map((type, index) => { (types||[]).map((type, index) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment