From d2fabf8e938d786c79b350a05d8c24945a3435ce Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 24 Mar 2021 09:55:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95=E6=9F=A5=E8=AF=A2=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E6=8F=90=E7=A4=BA=EF=BC=8C=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E4=B8=8D=E5=8E=BB=E5=8D=95=E4=B8=AA=E8=AE=A1?= =?UTF-8?q?=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/performance/test/EditPerformanceTest.vue | 6 ++---- .../components/performance/test/components/ExistFiles.vue | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/src/business/components/performance/test/EditPerformanceTest.vue b/frontend/src/business/components/performance/test/EditPerformanceTest.vue index c4fe35f1dc..30168db9c5 100644 --- a/frontend/src/business/components/performance/test/EditPerformanceTest.vue +++ b/frontend/src/business/components/performance/test/EditPerformanceTest.vue @@ -345,13 +345,11 @@ export default { this.$refs.basicConfig.threadGroups = threadGroups; this.$refs.pressureConfig.threadGroups = threadGroups; - threadGroups.forEach(tg => { - handler.calculateChart(tg); - }) + handler.calculateTotalChart(); }, tgTypeChange(threadGroup) { let handler = this.$refs.pressureConfig; - handler.calculateChart(threadGroup); + handler.calculateTotalChart(); } } } diff --git a/frontend/src/business/components/performance/test/components/ExistFiles.vue b/frontend/src/business/components/performance/test/components/ExistFiles.vue index ad48447019..224c874960 100644 --- a/frontend/src/business/components/performance/test/components/ExistFiles.vue +++ b/frontend/src/business/components/performance/test/components/ExistFiles.vue @@ -232,7 +232,7 @@ export default { callback(); } else { - this.$error(this.$t('load_test.project_file_exist')); + this.$error(this.$t('load_test.project_file_exist') + ', name: ' + file.name); } }); },