feat: show last used time column in tokens table
This commit is contained in:
parent
f995a868e4
commit
b60bc94f9c
@ -536,6 +536,13 @@ export const getTokensColumns = ({
|
|||||||
return <div>{renderTimestamp(text)}</div>;
|
return <div>{renderTimestamp(text)}</div>;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: t('最后使用时间'),
|
||||||
|
dataIndex: 'accessed_time',
|
||||||
|
render: (text, record, index) => {
|
||||||
|
return <div>{text ? renderTimestamp(text) : '-'}</div>;
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: t('过期时间'),
|
title: t('过期时间'),
|
||||||
dataIndex: 'expired_time',
|
dataIndex: 'expired_time',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user