feat: add thousand separators to token display in dashboard
This commit is contained in:
parent
451076fa51
commit
f48e8d5180
@ -102,7 +102,7 @@ export const useDashboardStats = (
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('统计Tokens'),
|
title: t('统计Tokens'),
|
||||||
value: isNaN(consumeTokens) ? 0 : consumeTokens,
|
value: isNaN(consumeTokens) ? 0 : consumeTokens.toLocaleString(),
|
||||||
icon: <IconTextStroked />,
|
icon: <IconTextStroked />,
|
||||||
avatarColor: 'pink',
|
avatarColor: 'pink',
|
||||||
trendData: trendData.tokens,
|
trendData: trendData.tokens,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user