fix: 优化提示词模板的创建者的显示

This commit is contained in:
2025-11-06 14:51:31 +08:00
parent 34cba4a34f
commit b99ae6df84
4 changed files with 25 additions and 39 deletions
+2 -1
View File
@@ -334,7 +334,8 @@ export default function PromptsIndex() {
key: "created_by",
width: "100px",
render: (_: unknown, record: PromptTemplateUI) => (
<span className="text-secondary"> {record.created_by}</span>
// <span className="text-secondary">用户 {record.created_by}</span>
<span className="text-secondary">{record.created_by_username}</span>
)
},
{