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 3e784a7423
commit d2f46e50b3
2 changed files with 2 additions and 1 deletions

View File

@ -573,7 +573,7 @@ export default {
return node; return node;
} else { } else {
if (node.children && node.children.length > 0) { 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) { handleChange(file, fileList) {
this.$refs.caseUpload.clearFiles(); this.$refs.caseUpload.clearFiles();
this.showContinueBtn = false;
}, },
handleExceed(files, fileList) { handleExceed(files, fileList) {
this.$warning(this.$t('test_track.case.import.upload_limit_count'), false); this.$warning(this.$t('test_track.case.import.upload_limit_count'), false);