fix(table): fix table display

This commit is contained in:
zhangheng
2026-04-22 14:06:20 +08:00
parent 1211b79dc3
commit 4311cd67eb
2 changed files with 27 additions and 3 deletions

View File

@@ -103,7 +103,19 @@ export default function PersonalProjectTable() {
title: "项目名称",
width: 160,
render: (record: Project.PersonProjectDashboardResponseItem) => {
return record.project_name ?? "-"
return (
<Text
title={record.project_name ?? "-"}
style={{
fontSize: "14px",
maxWidth: "100%",
whiteSpace: "nowrap",
overflow: "hidden",
textOverflow: "ellipsis",
}}>
{record.project_name ?? "-"}
</Text>
)
},
},
{