fix: 取值id改name

This commit is contained in:
april 2023-08-15 16:07:41 +08:00
parent 3b7237dff9
commit d2991ed15f
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]) { if (!parentMap[currentNode.name]) {
return currentNode; return currentNode;
} }
currentNode = parentMap[currentNode.id]; currentNode = parentMap[currentNode.name];
} }
return null; return null;