Commit c414404c by zhaochengxiang

调整资产滚动高度

parent 3c8dd2e1
...@@ -91,19 +91,6 @@ const RelationContainer = (props) => { ...@@ -91,19 +91,6 @@ const RelationContainer = (props) => {
} }
} }
const judgeNodeHaveChild = (node, data = nodes) => {
let nodeLevelId = `${node.levelId}-`;
(data||[]).forEach(item => {
if (node.levelId.split('-').length<item.levelId.split('-').length && item.levelId.slice(0, nodeLevelId.length)===nodeLevelId) {
return true;
}
});
return false;
}
const generateCenterNodeRelationData = (data = nodes) => { const generateCenterNodeRelationData = (data = nodes) => {
if ((data||[]).length===0) { if ((data||[]).length===0) {
setRelationData(null); setRelationData(null);
......
...@@ -512,13 +512,13 @@ const AssetTable = (props) => { ...@@ -512,13 +512,13 @@ const AssetTable = (props) => {
let scrollY = null; let scrollY = null;
if ((assets||[]).length>0) { if ((assets||[]).length>0) {
if (fullScreen) { if (fullScreen) {
scrollY = 'calc(100vh - 182px - 80px)'; scrollY = 'calc(100vh - 182px - 72px)';
} else if (reference===AssetManageReference) { } else if (reference===AssetManageReference) {
scrollY = 'calc(100vh - 182px - 123px - 15px - 80px)'; scrollY = 'calc(100vh - 182px - 123px - 15px - 72px)';
} else if (reference===AssetBrowseReference||reference===ResourceBrowseReference) { } else if (reference===AssetBrowseReference||reference===ResourceBrowseReference) {
scrollY = 'calc(100vh - 182px - 102px - 15px - 80px)'; scrollY = 'calc(100vh - 182px - 94px - 15px - 72px)';
} else if (reference===AssetRecycleReference) { } else if (reference===AssetRecycleReference) {
scrollY = 'calc(100vh - 182px - 80px)'; scrollY = 'calc(100vh - 182px - 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