From a9df04d1c56de1b9c980425b3c2cf7c36d121c68 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Tue, 16 Apr 2024 11:11:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=BA=E9=99=B7=E7=AE=A1=E7=90=86=E5=8F=91?= =?UTF-8?q?=E9=80=81=E9=80=9A=E7=9F=A5=E8=A7=A3=E6=9E=90=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E5=AD=97=E6=AE=B5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1039437 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001039437 --- .../java/io/metersphere/bug/service/BugNoticeService.java | 4 ++-- .../src/main/java/io/metersphere/system/dto/BugNoticeDTO.java | 2 +- .../caseManagementFeature/components/recycleCaseTable.vue | 4 ---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugNoticeService.java b/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugNoticeService.java index 15c1e92536..7a8ad44bcf 100644 --- a/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugNoticeService.java +++ b/backend/services/bug-management/src/main/java/io/metersphere/bug/service/BugNoticeService.java @@ -69,7 +69,7 @@ public class BugNoticeService { fields.add(fieldDTO); } }); - notice.setCustomFields(fields); + notice.setFields(fields); } return notice; } else { @@ -101,7 +101,7 @@ public class BugNoticeService { fieldDTO.setName(field.getValue()); fields.add(fieldDTO); }); - notice.setCustomFields(fields); + notice.setFields(fields); } return notice; } diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/dto/BugNoticeDTO.java b/backend/services/system-setting/src/main/java/io/metersphere/system/dto/BugNoticeDTO.java index f7564e9b23..bb66baad7a 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/dto/BugNoticeDTO.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/dto/BugNoticeDTO.java @@ -14,5 +14,5 @@ import java.util.List; public class BugNoticeDTO extends BugMessageDTO{ @Schema(description = "自定义字段内容") - private List customFields; + private List fields; } diff --git a/frontend/src/views/case-management/caseManagementFeature/components/recycleCaseTable.vue b/frontend/src/views/case-management/caseManagementFeature/components/recycleCaseTable.vue index 7b6736a37e..1de8114403 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/recycleCaseTable.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/recycleCaseTable.vue @@ -570,15 +570,11 @@ // 用例树节点选中事件 const caseNodeSelect = (selectedNodeKeys: (string | number)[] | string[], node: MsTreeNodeData) => { [activeFolder.value] = selectedNodeKeys as string[]; - console.log('node'); - console.log(node); offspringIds.value = []; mapTree(node.children || [], (e) => { offspringIds.value.push(e.id); return e; }); - console.log('offspringIds'); - console.log(offspringIds); focusNodeKey.value = ''; };