diff --git a/src/pages/ChatLogs.tsx b/src/pages/ChatLogs.tsx index da4f7aa..6a79cf6 100644 --- a/src/pages/ChatLogs.tsx +++ b/src/pages/ChatLogs.tsx @@ -43,7 +43,7 @@ export default function ChatLogsPage() { columns={[ { title: '标题', dataIndex: 'title', width: 200, ellipsis: true }, { title: '用户', dataIndex: 'userId', width: 140, ellipsis: true , render: (_: any, r: any) => r.userName || r.userId }, - { title: '知识库', dataIndex: 'knowledgeBaseId', width: 140, ellipsis: true }, + { title: '知识库', dataIndex: 'knowledgeBaseId', width: 140, ellipsis: true, render: (_: any, r: any) => r.kbName || r.knowledgeBaseId }, { title: '消息数', dataIndex: ['_count','messages'], width: 70, align: 'center' }, { title: '更新时间', dataIndex: 'updatedAt', width: 140, render: (d: string) => dayjs(d).format('MM-DD HH:mm') }, {