From 5595110c1cb18b9d8ce4f4113c37f9a9121ecd02 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Fri, 5 Mar 2021 17:24:12 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=A5=E5=91=8A=E6=98=BE=E7=A4=BA=E7=BA=BF?= =?UTF-8?q?=E7=A8=8B=E7=BB=84=E9=87=8D=E5=A4=8D=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../report/components/PerformancePressureConfig.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue b/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue index 3a5d5b0c28..c883b85358 100644 --- a/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue +++ b/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue @@ -258,13 +258,15 @@ export default { if (!this.report.testId) { return; } + let threadGroups = []; this.result = this.$get('/performance/get-jmx-content/' + this.report.testId, (response) => { response.data.forEach(d => { - this.threadGroups = this.threadGroups.concat(findThreadGroup(d.jmx, d.name)); - this.threadGroups.forEach(tg => { + threadGroups = threadGroups.concat(findThreadGroup(d.jmx, d.name)); + threadGroups.forEach(tg => { tg.options = {}; }); }); + this.threadGroups = threadGroups; this.getLoadConfig(); }); },