From b3896e8022ff5b50efa3b752f2d99d3c75da3f54 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Thu, 21 Jul 2022 13:39:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96=E5=A4=B1=E8=B4=A5=E9=87=8D=E8=AF=95?= =?UTF-8?q?=E7=9A=84=E7=BB=93=E6=9E=9C=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1015123 --user=赵勇 【测试跟踪】失败重试次数展示的2个问题 https://www.tapd.cn/55049933/s/1206195 --- .../java/io/metersphere/api/service/ApiJmeterFileService.java | 4 ++++ frontend/src/business/components/track/issue/IssueEdit.vue | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/api/service/ApiJmeterFileService.java b/backend/src/main/java/io/metersphere/api/service/ApiJmeterFileService.java index c9e067cfdc..fa2d3d28cc 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiJmeterFileService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiJmeterFileService.java @@ -80,6 +80,10 @@ public class ApiJmeterFileService { detail = list.get(0); } } + if (detail != null) { + runRequest.setRetryEnable(detail.getRetryEnable()); + runRequest.setRetryNum(detail.getRetryNumber()); + } Map envMap = new LinkedHashMap<>(); if (detail != null && StringUtils.isNotEmpty(detail.getEvnMap())) { envMap = JSON.parseObject(detail.getEvnMap(), Map.class); diff --git a/frontend/src/business/components/track/issue/IssueEdit.vue b/frontend/src/business/components/track/issue/IssueEdit.vue index 6fea24adcc..185429ceef 100644 --- a/frontend/src/business/components/track/issue/IssueEdit.vue +++ b/frontend/src/business/components/track/issue/IssueEdit.vue @@ -5,7 +5,7 @@ :before-close="handleClose" :visible.sync="visible" :with-header="false" - size="calc(100% - var(--asideWidth))" + size="100%" :modal-append-to-body="false" ref="drawer" >