From b8657a36eddf4a431bbe69443deafdfcf412cea1 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Mon, 11 Apr 2022 15:43:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=20?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E7=9A=84=E5=9C=BA=E6=99=AF=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E6=98=BE=E7=A4=BA=E7=9A=84=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1012071 --user=宋天阳 【测试跟踪】-测试计划 导出的场景用例报告显示的不正确 https://www.tapd.cn/55049933/s/1132333 --- .../components/api/automation/report/ApiReportDetail.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/automation/report/ApiReportDetail.vue b/frontend/src/business/components/api/automation/report/ApiReportDetail.vue index 6d101df726..ed4efeede0 100644 --- a/frontend/src/business/components/api/automation/report/ApiReportDetail.vue +++ b/frontend/src/business/components/api/automation/report/ApiReportDetail.vue @@ -332,8 +332,12 @@ export default { this.init(); if (this.isTemplate) { // 测试计划报告导出 - this.report = this.templateReport; - this.buildReport(); + if(this.templateReport){ + this.handleGetScenarioReport(this.templateReport); + }else { + this.report = this.templateReport; + this.buildReport(); + } } else if (this.isShare) { getShareScenarioReport(this.shareId, this.reportId, (data) => { this.checkReport(data);