From ec3276edff07d469ec0cbe86dbeb4f7612488b7c Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 5 Aug 2020 18:53:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/track/plan/view/comonents/test/ApiTestDetail.vue | 2 +- .../components/track/plan/view/comonents/test/ApiTestResult.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue index a1f299a012..a89f2015bf 100644 --- a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue +++ b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue @@ -16,7 +16,7 @@ - + diff --git a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue index 92cbe2c113..c869bbf680 100644 --- a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue +++ b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue @@ -71,7 +71,7 @@ let url = "/api/report/get/" + this.reportId; this.$get(url, response => { this.report = response.data || {}; - if (this.report.status == 'Completed') { + if (this.report.status == 'Completed' || this.report.status == 'Success' || this.report.status == 'Error') { this.content = JSON.parse(this.report.content); this.getFails(); this.loading = false;