fix(性能测试): 修复引用场景时相同文件名没去重的问题

--bug=1014054 --user=刘瑞斌 【性能测试】github#14669性能测试引用两个以上带证书的场景保存报错 https://www.tapd.cn/55049933/s/1182097

Closes #14669
This commit is contained in:
CaptainB 2022-06-15 11:07:53 +08:00 committed by f2c-ci-robot[bot]
parent c1c5879eb7
commit fccd0424ec
1 changed files with 4 additions and 0 deletions

View File

@ -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,