feat: auth openapi key

This commit is contained in:
archer
2023-04-07 23:33:59 +08:00
parent f6c4b4c96d
commit ea1681e1eb
6 changed files with 37 additions and 8 deletions

View File

@@ -74,7 +74,11 @@ const OpenApi = () => {
<Tr key={id}>
<Td>{apiKey}</Td>
<Td>{dayjs(createTime).format('YYYY/MM/DD HH:mm:ss')}</Td>
<Td>{dayjs(lastUsedTime).format('YYYY/MM/DD HH:mm:ss')}</Td>
<Td>
{lastUsedTime
? dayjs(lastUsedTime).format('YYYY/MM/DD HH:mm:ss')
: '没有使用过'}
</Td>
<Td>
<IconButton
icon={<DeleteIcon />}