pref: add millisecond display to pub/sub

This commit is contained in:
Lykin 2025-04-08 16:51:19 +08:00
parent 8b788f5f84
commit 3ffe02d11f

View File

@ -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')
}, },
}, },
{ {