fix(测试跟踪): 用例编辑模块显示有误

--bug=1023686 --user=陈建星 【测试跟踪】功能用例-创建用例-选择模块-保存后模块显示为暂无 https://www.tapd.cn/55049933/s/1341112
This commit is contained in:
chenjianxing 2023-02-22 18:25:17 +08:00 committed by jianxing
parent 2dac3d91be
commit 552d698661
1 changed files with 4 additions and 1 deletions

View File

@ -573,7 +573,10 @@ export default {
return node; return node;
} else { } else {
if (node.children && node.children.length > 0) { if (node.children && node.children.length > 0) {
return this.findTreeNode(node.children); let findNode = this.findTreeNode(node.children);
if (findNode != null) {
return findNode;
}
} }
} }
} }