fix(测试计划): 修复测试计划详情功能用例列表加载报错

This commit is contained in:
xinxin.wu 2024-09-25 11:15:07 +08:00 committed by 刘瑞斌
parent b01add42c2
commit 541ee42928
2 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,7 @@
}); });
function getTagContent(tag: { [x: string]: any }) { 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) { if (props.showTable) {
return tagContent.length > 16 ? characterLimit(tagContent, 9) : tagContent; return tagContent.length > 16 ? characterLimit(tagContent, 9) : tagContent;
} }

View File

@ -349,6 +349,7 @@
dataIndex: 'tags', dataIndex: 'tags',
showDrag: true, showDrag: true,
isTag: true, isTag: true,
isStringTag: true,
}, },
{ {
title: 'caseManagement.featureCase.tableColumnCreateTime', title: 'caseManagement.featureCase.tableColumnCreateTime',