优化目录组织图结构逻辑

This commit is contained in:
wanglin2 2023-04-13 08:31:00 +08:00
parent bb68575aca
commit 87d55b31ca

View File

@ -126,7 +126,7 @@ class CatalogOrganization extends Base {
node.children.reduce((h, item) => {
return h + item.height + (this.getNodeActChildrenLength(item) > 0 ? item.expandBtnSize : 0)
}, 0) +
(len + 1) * marginY
len * marginY
this.updateBrothersTop(node, totalHeight)
}
},