diff --git a/frontend/src/business/components/performance/test/EditPerformanceTest.vue b/frontend/src/business/components/performance/test/EditPerformanceTest.vue index d4c6ac5fc9..62b2db5c5a 100644 --- a/frontend/src/business/components/performance/test/EditPerformanceTest.vue +++ b/frontend/src/business/components/performance/test/EditPerformanceTest.vue @@ -204,9 +204,9 @@ export default { for (let fileID in apiTest.jmx.attachFiles) { attachFiles.push(fileID); } - if (attachFiles.length > 0) { - this.$refs.basicConfig.selectAttachFileById(attachFiles); - } + // if (attachFiles.length > 0) { + // this.$refs.basicConfig.selectAttachFileById(attachFiles); + // } } this.active = '1'; this.$store.commit("clearTest"); @@ -234,9 +234,9 @@ export default { for (let fileID in item.attachFiles) { attachFiles.push(fileID); } - if (attachFiles.length > 0) { - this.$refs.basicConfig.selectAttachFileById(attachFiles); - } + // if (attachFiles.length > 0) { + // this.$refs.basicConfig.selectAttachFileById(attachFiles); + // } } this.$set(this.test, "apiList", relateApiList); }); diff --git a/frontend/src/business/components/performance/test/components/ExistScenarios.vue b/frontend/src/business/components/performance/test/components/ExistScenarios.vue index 13b205a3cf..ee2c83cf25 100644 --- a/frontend/src/business/components/performance/test/components/ExistScenarios.vue +++ b/frontend/src/business/components/performance/test/components/ExistScenarios.vue @@ -150,7 +150,12 @@ export default { // csv 处理 d.fileMetadataList?.forEach(f => { this.fileList.push(f); - this.tableData.push(f); + this.tableData.push({ + name: f.name, + size: (f.size / 1024).toFixed(2) + ' KB', + type: f.type, + updateTime: f.updateTime, + }); }); }); diff --git a/frontend/src/business/components/performance/test/components/PerformanceBasicConfig.vue b/frontend/src/business/components/performance/test/components/PerformanceBasicConfig.vue index 0c4a4c4fb8..87fed30780 100644 --- a/frontend/src/business/components/performance/test/components/PerformanceBasicConfig.vue +++ b/frontend/src/business/components/performance/test/components/PerformanceBasicConfig.vue @@ -91,7 +91,7 @@