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',
|
||||
key: 'offset',
|
||||
sorter: true,
|
||||
render: (t: number) => (+t ? t.toLocaleString() : '-'),
|
||||
render: (t: number) => (+t || +t === 0 ? t.toLocaleString() : '-'), // TODO: 千分位展示
|
||||
},
|
||||
{
|
||||
title: 'Timestamp',
|
||||
|
||||
Reference in New Issue
Block a user