From 541ee429288401a601c2920ea1931483997fbade Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 25 Sep 2024 11:15:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/pure/ms-tag/ms-tag-group.vue | 2 +- .../testPlan/detail/featureCase/components/caseTable.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/pure/ms-tag/ms-tag-group.vue b/frontend/src/components/pure/ms-tag/ms-tag-group.vue index f9e3af9835..291b6fb284 100644 --- a/frontend/src/components/pure/ms-tag/ms-tag-group.vue +++ b/frontend/src/components/pure/ms-tag/ms-tag-group.vue @@ -117,7 +117,7 @@ }); function getTagContent(tag: { [x: string]: any }) { - const tagContent = props.isStringTag ? tag : tag[props.nameKey]; + const tagContent = (props.isStringTag ? tag : tag[props.nameKey]) || ''; if (props.showTable) { return tagContent.length > 16 ? characterLimit(tagContent, 9) : tagContent; } diff --git a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue index e6d28ea898..2cff7c1962 100644 --- a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue +++ b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue @@ -349,6 +349,7 @@ dataIndex: 'tags', showDrag: true, isTag: true, + isStringTag: true, }, { title: 'caseManagement.featureCase.tableColumnCreateTime',