fix(测试跟踪): 编辑用例模块层级较多时,不显示模块名称

--bug=1023513 --user=陈建星 【测试跟踪】功能用例,导入的用例编辑时不显示所属模块 https://www.tapd.cn/55049933/s/1340321
This commit is contained in:
chenjianxing 2023-02-22 10:12:04 +08:00 committed by CaptainB
parent 2507e48def
commit 7ef5713588
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -170,6 +170,7 @@ export default {
},
handleChange(file, fileList) {
this.$refs.caseUpload.clearFiles();
this.showContinueBtn = false;
},
handleExceed(files, fileList) {
this.$warning(this.$t('test_track.case.import.upload_limit_count'), false);