mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 03:42:07 +08:00
[BugFix]修复Topic消息展示,offset为0不显示问题(#996)
This commit is contained in:
@@ -82,7 +82,7 @@ export const getTopicMessagesColmns = () => {
|
|||||||
dataIndex: 'offset',
|
dataIndex: 'offset',
|
||||||
key: 'offset',
|
key: 'offset',
|
||||||
sorter: true,
|
sorter: true,
|
||||||
render: (t: number) => (+t ? t.toLocaleString() : '-'),
|
render: (t: number) => (+t || +t === 0 ? t.toLocaleString() : '-'), // TODO: 千分位展示
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Timestamp',
|
title: 'Timestamp',
|
||||||
|
|||||||
Reference in New Issue
Block a user