Commit d232b306 by zhaochengxiang

bug fix

parent 8b9d0dbb
...@@ -765,11 +765,9 @@ const AssetAction = React.forwardRef(function (props, ref) { ...@@ -765,11 +765,9 @@ const AssetAction = React.forwardRef(function (props, ref) {
{ {
(action!=='add' && (id||'')!=='') && <div> (action!=='add' && (id||'')!=='') && <div>
<div className='mb-3'> <div className='mb-3'>
<Descriptions column={1}> <Row gutter={10}>
<Descriptions.Item <Col flex='1 1 0' style={{ overflow: 'hidden' }}>
label='资产目录路径' <span>资产目录路径: </span>
style={{ paddingBottom: 0 }}
>
<span> <span>
{ {
(assetPaths??[]).length > 0 && ( (assetPaths??[]).length > 0 && (
...@@ -783,14 +781,11 @@ const AssetAction = React.forwardRef(function (props, ref) { ...@@ -783,14 +781,11 @@ const AssetAction = React.forwardRef(function (props, ref) {
</Typography.Text> </Typography.Text>
} }
</span> </span>
</Descriptions.Item> </Col>
<Descriptions.Item <Col flex={0}>
label='浏览次数' <span>{`访问次数: ${assets?.visitCount}`}</span>
style={{ paddingBottom: 0 }} </Col>
> </Row>
{assets?.visitCount}
</Descriptions.Item>
</Descriptions>
</div> </div>
</div> </div>
} }
......
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