From e0cc245597d1937319c7297e813c185b587086de Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Wed, 24 Aug 2022 15:58:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E8=84=91=E5=9B=BE=E4=B8=AD=E7=94=A8=E4=BE=8B=E5=85=B3=E8=81=94?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E5=8F=8C=E5=87=BB=E6=8A=A5=E9=94=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1016238 --user=宋昌昌 【测试跟踪】测试计划-脑图中关联缺陷后-保存-双击缺陷ID 提示错误信息,无法查看缺陷 https://www.tapd.cn/55049933/s/1232537 --- .../components/track/common/minder/TestCaseMinder.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/common/minder/TestCaseMinder.vue b/frontend/src/business/components/track/common/minder/TestCaseMinder.vue index bfa5f47835..9ac01dac5b 100644 --- a/frontend/src/business/components/track/common/minder/TestCaseMinder.vue +++ b/frontend/src/business/components/track/common/minder/TestCaseMinder.vue @@ -201,7 +201,11 @@ name: "TestCaseMinder", } if (node.data.type === 'issue') { getIssuesListById(node.data.id, this.projectId,this.workspaceId,(data) => { - data.customFields = JSON.parse(data.customFields); + if (data.customFields && data.customFields.toString().trim() !== '') { + data.customFields = JSON.parse(data.customFields); + } else { + data.customFields = null; + } this.$refs.issueEdit.open(data); }); }