fix(admin): config dialog lists all same-category sibling links (incl. configured); drop merge tip text
This commit is contained in:
@@ -387,7 +387,8 @@ function collectSiblings(ogNode: any): any[] {
|
||||
const result: any[] = []
|
||||
function traverse(nodes: any[]) {
|
||||
for (const n of nodes) {
|
||||
if (n.isOG && n.parentId === ogNode.parentId && String(n.rawId) !== String(ogNode.rawId) && !n.configuredCount) result.push(n)
|
||||
// 同分类下的全部其他链接(含已配置的,勾选归族操作幂等)
|
||||
if (n.isOG && n.parentId === ogNode.parentId && String(n.rawId) !== String(ogNode.rawId)) result.push(n)
|
||||
if (n.children?.length) traverse(n.children)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user