fix(admin): config dialog lists all same-category sibling links (incl. configured); drop merge tip text

This commit is contained in:
yeuimu
2026-08-28 17:11:36 +08:00
parent f280b1daf5
commit 7c85f7fe9f
2 changed files with 3 additions and 4 deletions
+2 -1
View File
@@ -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)
}
}