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',