fix: 取值id改name

Former-commit-id: d2991ed15f
This commit is contained in:
april 2023-08-15 16:07:41 +08:00
parent 1b228bc6e1
commit 56b6f09e74
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ function findOutermostParent(tree: any[], findName: string) {
if (!parentMap[currentNode.name]) {
return currentNode;
}
currentNode = parentMap[currentNode.id];
currentNode = parentMap[currentNode.name];
}
return null;