mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-04-13 16:18:04 +08:00
pref: add millisecond display to pub/sub
This commit is contained in:
parent
8b788f5f84
commit
3ffe02d11f
@ -47,11 +47,11 @@ const columns = computed(() => [
|
|||||||
{
|
{
|
||||||
title: () => i18n.t('pubsub.time'),
|
title: () => i18n.t('pubsub.time'),
|
||||||
key: 'timestamp',
|
key: 'timestamp',
|
||||||
width: 180,
|
width: 200,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
titleAlign: 'center',
|
titleAlign: 'center',
|
||||||
render: ({ timestamp }, index) => {
|
render: ({ timestamp }, index) => {
|
||||||
return dayjs(timestamp).format('YYYY-MM-DD HH:mm:ss')
|
return dayjs(timestamp).format('YYYY-MM-DD HH:mm:ss.SSS')
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user