fix: remove duplicate render on RecordPage materialId
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 9s
This commit is contained in:
parent
ba4e35d413
commit
8da90c721b
@ -319,7 +319,7 @@ export function RecordPage() {
|
||||
|
||||
const columns = [
|
||||
{ title: '用户', dataIndex: 'userId', key: 'userId', render: (_: any, r: any) => r.userName || r.userId, width: 90, ellipsis: true },
|
||||
{ title: '资料', dataIndex: 'materialId', key: 'materialId', render: (_: any, r: any) => r.materialName || r.materialId, width: 100, ellipsis: true, render: (_: any, r: any) => r.materialName || (r.materialId ? r.materialId.slice(0,12) : '-') },
|
||||
{ title: '资料', dataIndex: 'materialId', key: 'materialId', render: (_: any, r: any) => r.materialName || (r.materialId ? r.materialId.slice(0,12) : '-'), width: 100, ellipsis: true },
|
||||
{ title: '标题', dataIndex: 'title', key: 'title', width: 180 },
|
||||
{ title: '类型', dataIndex: 'recordType', key: 'recordType', width: 100, render: (t: string) => <Tag>{recordTypeLabels[t] || t}</Tag> },
|
||||
{ title: '时长', dataIndex: 'durationSeconds', key: 'duration', width: 80 },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user