From bb7be006eecc7359bc845d291921239009f7a60d Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 12 May 2023 16:39:54 +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=8D=E8=B7=B3=E8=BD=AC=E7=9A=84=E6=9C=AA=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97=E6=AE=B5=E7=9A=84?= =?UTF-8?q?=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1026130 --user=王孝刚 【接口测试】github#24358,场景中点击复制的 api 跳转到接口定义页面,自定义字段不显示 https://www.tapd.cn/55049933/s/1371193 --- .../io/metersphere/service/definition/ApiDefinitionService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java index 7586563831..5f6ddca426 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiDefinitionService.java @@ -1712,6 +1712,7 @@ public class ApiDefinitionService { ApiDefinitionRequest request = new ApiDefinitionRequest(); request.setId(id); List list = extApiDefinitionMapper.list(request); + buildCustomField(list); ApiDefinitionResult result = null; if (CollectionUtils.isNotEmpty(list)) { result = list.get(0);