diff --git a/frontend/src/business/components/performance/test/components/ExistScenarios.vue b/frontend/src/business/components/performance/test/components/ExistScenarios.vue index d5a63e68a7..681fd411b4 100644 --- a/frontend/src/business/components/performance/test/components/ExistScenarios.vue +++ b/frontend/src/business/components/performance/test/components/ExistScenarios.vue @@ -156,6 +156,10 @@ export default { }); // csv 处理 d.fileMetadataList?.forEach(f => { + // 去掉重复的文件 + if (this.fileList.filter(item => item.name === f.name).length > 0) { + return; + } this.fileList.push(f); this.tableData.push({ name: f.name,