diff --git a/frontend/src/business/components/performance/test/EditPerformanceTest.vue b/frontend/src/business/components/performance/test/EditPerformanceTest.vue index 2492bd0466..72d3051acf 100644 --- a/frontend/src/business/components/performance/test/EditPerformanceTest.vue +++ b/frontend/src/business/components/performance/test/EditPerformanceTest.vue @@ -260,16 +260,12 @@ export default { scenarioJmxs.jmxs.forEach(item => { if (item.scenarioId) { this.$refs.basicConfig.importScenario(item.scenarioId); - this.$refs.basicConfig.handleUpload(); relateApiList.push({ apiId: item.scenarioId, apiVersion: item.version, type: 'SCENARIO' }); } - if (item.caseId) { - this.$refs.basicConfig.importCase(item); - } if (JSON.stringify(item.attachFiles) !== "{}") { let attachFiles = []; for (let fileID in item.attachFiles) { @@ -278,6 +274,7 @@ export default { } this.$set(this.test, "apiList", relateApiList); }); + this.$refs.basicConfig.handleUpload(); this.active = '1'; this.$store.commit("clearScenarioJmxs"); }