diff --git a/ui/src/pages/admin/adminTable.tsx b/ui/src/pages/admin/adminTable.tsx index 310a03f..0e8c041 100644 --- a/ui/src/pages/admin/adminTable.tsx +++ b/ui/src/pages/admin/adminTable.tsx @@ -189,8 +189,11 @@ const AdminTable = () => { { title: '最近活跃时间', dataIndex: 'last_active_at', - render: (text) => { - return text === 0 ? '从未使用' : dayjs.unix(text).fromNow(); + render: (text, record) => { + return + {record.created_at ? dayjs.unix(record.created_at).fromNow() + '加入' : '加入时间未知'} + {record.last_active_at ? dayjs.unix(record.last_active_at).fromNow() + '活跃' : '活跃时间未知'} + }, }, { @@ -212,14 +215,14 @@ const AdminTable = () => { }, ]; return ( - + - 管理员 + 管理员