Commit fbb9ccaf by zhaochengxiang

资源浏览统计隐藏

parent 37eb875f
...@@ -178,7 +178,7 @@ const AssetDirectory = (props) => { ...@@ -178,7 +178,7 @@ const AssetDirectory = (props) => {
</Tooltip> </Tooltip>
</Paragraph> </Paragraph>
</div> </div>
<div className={(reference===AssetManageReference || reference===ResourceBrowseReference)?'mb-common':''}> <div className={(reference===AssetManageReference)?'mb-common':''}>
<Paragraph> <Paragraph>
<Tooltip title={dir?.desc||''}> <Tooltip title={dir?.desc||''}>
<Text className='title-color' ellipsis={true}> <Text className='title-color' ellipsis={true}>
...@@ -189,9 +189,7 @@ const AssetDirectory = (props) => { ...@@ -189,9 +189,7 @@ const AssetDirectory = (props) => {
</Paragraph> </Paragraph>
</div> </div>
{ {
(reference===AssetManageReference || reference===ResourceBrowseReference) && <div className='flex'> (reference===AssetManageReference) && <div className='flex'>
{
(reference === AssetManageReference) && <React.Fragment>
<Paragraph style={{ flex: 1, overflow: 'hidden' }}> <Paragraph style={{ flex: 1, overflow: 'hidden' }}>
<Tooltip title={dir?.remarks||''}> <Tooltip title={dir?.remarks||''}>
<Text className='title-color' ellipsis={true}> <Text className='title-color' ellipsis={true}>
...@@ -201,10 +199,8 @@ const AssetDirectory = (props) => { ...@@ -201,10 +199,8 @@ const AssetDirectory = (props) => {
</Tooltip> </Tooltip>
</Paragraph> </Paragraph>
<Separate width={10} background='#fff' /> <Separate width={10} background='#fff' />
</React.Fragment>
}
{ {
(reference===ResourceBrowseReference || resourceState) && <React.Fragment> resourceState && <React.Fragment>
<Paragraph style={{ flex: 1, overflow: 'hidden' }}> <Paragraph style={{ flex: 1, overflow: 'hidden' }}>
<Tooltip title={resourceState?.relatedAsset}> <Tooltip title={resourceState?.relatedAsset}>
<Text className='title-color' ellipsis={true}> <Text className='title-color' ellipsis={true}>
......
...@@ -2,20 +2,20 @@ ...@@ -2,20 +2,20 @@
.asset-directory { .asset-directory {
// .more-container { .more-container {
// cursor: pointer; cursor: pointer;
// color: @icon-normal-color; color: @icon-normal-color;
// .icon { .icon {
// fill: @icon-normal-color !important; fill: @icon-normal-color !important;
// } }
// &:hover { &:hover {
// color: @icon-hover-color; color: @icon-hover-color;
// .icon { .icon {
// fill: @icon-hover-color !important; fill: @icon-hover-color !important;
// } }
// } }
// } }
} }
\ No newline at end of file
...@@ -644,9 +644,9 @@ const AssetTable = (props) => { ...@@ -644,9 +644,9 @@ const AssetTable = (props) => {
if ((assets||[]).length>0) { if ((assets||[]).length>0) {
if (fullScreen) { if (fullScreen) {
scrollY = 'calc(100vh - 209px - 72px)'; scrollY = 'calc(100vh - 209px - 72px)';
} else if (reference===AssetManageReference||reference===ResourceBrowseReference) { } else if (reference===AssetManageReference) {
scrollY = 'calc(100vh - 209px - 123px - 15px - 72px)'; scrollY = 'calc(100vh - 209px - 123px - 15px - 72px)';
} else if (reference===AssetBrowseReference) { } else if (reference===AssetBrowseReference ||reference===ResourceBrowseReference) {
scrollY = 'calc(100vh - 209px - 94px - 15px - 72px)'; scrollY = 'calc(100vh - 209px - 94px - 15px - 72px)';
} else if (reference===AssetRecycleReference) { } else if (reference===AssetRecycleReference) {
scrollY = 'calc(100vh - 209px - 72px)'; scrollY = 'calc(100vh - 209px - 72px)';
......
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