From 95ea080fe842cfe2260bce9b765dc7aee03bda0d Mon Sep 17 00:00:00 2001 From: baiqi Date: Wed, 25 Sep 2024 11:24:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8A=A5=E5=91=8A):=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E6=8A=A5=E5=91=8A=E5=AF=BC=E5=87=BA=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E4=BA=BA=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1047129 --user=白奇 测试计划报告导出后,报告内容缺少“执行人”信息 https://www.tapd.cn/55049933/s/1585609 --- frontend/src/views/test-plan/report/detail/exportPDF.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/test-plan/report/detail/exportPDF.vue b/frontend/src/views/test-plan/report/detail/exportPDF.vue index 59f0f86991..5224507277 100644 --- a/frontend/src/views/test-plan/report/detail/exportPDF.vue +++ b/frontend/src/views/test-plan/report/detail/exportPDF.vue @@ -799,7 +799,7 @@ body: fullCaseList.value.map((e: any) => ({ ...e, executeResult: t(lastExecuteResultMap[e.executeResult]?.statusText || '-'), - executeUser: e.executeUser?.name || '-', + executeUser: e.executeUser || '-', })) as RowInput[], }); } @@ -829,7 +829,7 @@ body: fullApiList.value.map((e: any) => ({ ...e, executeResult: t(lastExecuteResultMap[e.executeResult]?.statusText || '-'), - executeUser: e.executeUser?.name || '-', + executeUser: e.executeUser || '-', })) as RowInput[], }); } @@ -845,7 +845,7 @@ body: fullScenarioList.value.map((e: any) => ({ ...e, executeResult: t(lastExecuteResultMap[e.executeResult]?.statusText || '-'), - executeUser: e.executeUser?.name || '-', + executeUser: e.executeUser || '-', })) as RowInput[], }); }