2024-05-20 13:33:14: merge [main:cbc2424bba8b53605d0eef5e6716b20406f9b312];
This commit is contained in:
1 parent
98ad434b36
commit
a922f7e914
53 files changed
+1811
-3261
No files matched your search
@@ -16,6 +16,8 @@ import { LogType } from '@type/log.type'
|
||||
import { PermissionKeysType } from '@type/roles.type'
|
||||
|
||||
import './security-log-page.scss'
|
||||
import dayjs from 'dayjs'
|
||||
import { dateFormats } from '@constants/date.ts'
|
||||
|
||||
const limit = 10
|
||||
|
||||
@@ -75,8 +77,7 @@ const SecurityLogPage = () => {
|
||||
dataIndex: 'createdAt',
|
||||
key: 'createdAt',
|
||||
render: (value) => {
|
||||
const date = new Date(value)
|
||||
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`
|
||||
return dayjs(value).format(dateFormats.fullFormat)
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
&__wrap-table {
|
||||
overflow-x: scroll;
|
||||
height: calc(100vh - 250px);
|
||||
height: calc(100vh - 160px);
|
||||
}
|
||||
|
||||
&__pagination {
|
||||
|
||||
Reference in new issue
Block a user