fix: add kbName render to chat-logs knowledgeBaseId column
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 11s
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 11s
This commit is contained in:
parent
a19138871f
commit
fd40b0ef36
@ -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') },
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user