From 67021d5302fc1f09074f48b00cbf1e33638675f9 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 26 Oct 2022 21:02:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8DJenkins=E6=8F=92=E4=BB=B6=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E7=9A=84=E6=8A=A5=E5=91=8A=E5=9C=A8=E4=BB=BB=E5=8A=A1=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E8=B7=B3=E8=BD=AC=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/automation/report/ApiReportViewHeader.vue | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/api-test/frontend/src/business/automation/report/ApiReportViewHeader.vue b/api-test/frontend/src/business/automation/report/ApiReportViewHeader.vue index ec7f97b842..da29859a8a 100644 --- a/api-test/frontend/src/business/automation/report/ApiReportViewHeader.vue +++ b/api-test/frontend/src/business/automation/report/ApiReportViewHeader.vue @@ -153,14 +153,10 @@ export default { }, redirect() { let resourceId = this.scenarioId; - if (this.isPlan) { - getApiScenarioIdByPlanScenarioId(this.scenarioId).then((res) => { - resourceId = res.data; - this.showDetails(resourceId); - }); - } else { + getApiScenarioIdByPlanScenarioId(this.scenarioId).then((res) => { + resourceId = res.data; this.showDetails(resourceId); - } + }); }, showDetails(resourceId) { let uuid = getUUID().substring(1, 5);