From 0cdd7136d5ee75c1840bc0aaf6ffb4f20327be37 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Mon, 20 Jun 2022 14:11:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../performance/report/components/LogDetails.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/performance/report/components/LogDetails.vue b/frontend/src/business/components/performance/report/components/LogDetails.vue index 64604bb08e..73df4df425 100644 --- a/frontend/src/business/components/performance/report/components/LogDetails.vue +++ b/frontend/src/business/components/performance/report/components/LogDetails.vue @@ -14,13 +14,16 @@
-
    +
    • {{ log.content }}
    - {{ $t('load_test.download_log_file') }} + {{ + $t('load_test.download_log_file') + }} +
@@ -70,6 +73,7 @@ export default { this.resource = data; if (!this.currentInstance) { this.currentInstance = this.resource[0]?.resourceId; + this.changeInstance(this.currentInstance); } this.page = data.map(item => item.resourceId).reduce((result, curr) => { result[curr] = 1; @@ -106,6 +110,8 @@ export default { }); this.page[resourceId]++; this.loading = false; + // 继续查询 + this.load(resourceId); }, changeInstance(instance) { this.currentInstance = instance;