|
|
@@ -520,7 +520,7 @@ const Detail = (props) => {
|
|
|
{
|
|
|
title: t('当前余额'),
|
|
|
value: renderQuota(userState?.user?.quota),
|
|
|
- icon: <IconMoneyExchangeStroked size="large" />,
|
|
|
+ icon: <IconMoneyExchangeStroked />,
|
|
|
avatarColor: 'blue',
|
|
|
onClick: () => navigate('/console/topup'),
|
|
|
trendData: [],
|
|
|
@@ -529,7 +529,7 @@ const Detail = (props) => {
|
|
|
{
|
|
|
title: t('历史消耗'),
|
|
|
value: renderQuota(userState?.user?.used_quota),
|
|
|
- icon: <IconHistogram size="large" />,
|
|
|
+ icon: <IconHistogram />,
|
|
|
avatarColor: 'purple',
|
|
|
trendData: [],
|
|
|
trendColor: '#8b5cf6'
|
|
|
@@ -543,7 +543,7 @@ const Detail = (props) => {
|
|
|
{
|
|
|
title: t('请求次数'),
|
|
|
value: userState.user?.request_count,
|
|
|
- icon: <IconSend size="large" />,
|
|
|
+ icon: <IconSend />,
|
|
|
avatarColor: 'green',
|
|
|
trendData: [],
|
|
|
trendColor: '#10b981'
|
|
|
@@ -551,7 +551,7 @@ const Detail = (props) => {
|
|
|
{
|
|
|
title: t('统计次数'),
|
|
|
value: times,
|
|
|
- icon: <IconPulse size="large" />,
|
|
|
+ icon: <IconPulse />,
|
|
|
avatarColor: 'cyan',
|
|
|
trendData: trendData.times,
|
|
|
trendColor: '#06b6d4'
|
|
|
@@ -565,7 +565,7 @@ const Detail = (props) => {
|
|
|
{
|
|
|
title: t('统计额度'),
|
|
|
value: renderQuota(consumeQuota),
|
|
|
- icon: <IconCoinMoneyStroked size="large" />,
|
|
|
+ icon: <IconCoinMoneyStroked />,
|
|
|
avatarColor: 'yellow',
|
|
|
trendData: trendData.consumeQuota,
|
|
|
trendColor: '#f59e0b'
|
|
|
@@ -573,7 +573,7 @@ const Detail = (props) => {
|
|
|
{
|
|
|
title: t('统计Tokens'),
|
|
|
value: isNaN(consumeTokens) ? 0 : consumeTokens,
|
|
|
- icon: <IconTextStroked size="large" />,
|
|
|
+ icon: <IconTextStroked />,
|
|
|
avatarColor: 'pink',
|
|
|
trendData: trendData.tokens,
|
|
|
trendColor: '#ec4899'
|
|
|
@@ -587,7 +587,7 @@ const Detail = (props) => {
|
|
|
{
|
|
|
title: t('平均RPM'),
|
|
|
value: performanceMetrics.avgRPM,
|
|
|
- icon: <IconStopwatchStroked size="large" />,
|
|
|
+ icon: <IconStopwatchStroked />,
|
|
|
avatarColor: 'indigo',
|
|
|
trendData: trendData.rpm,
|
|
|
trendColor: '#6366f1'
|
|
|
@@ -595,7 +595,7 @@ const Detail = (props) => {
|
|
|
{
|
|
|
title: t('平均TPM'),
|
|
|
value: performanceMetrics.avgTPM,
|
|
|
- icon: <IconTypograph size="large" />,
|
|
|
+ icon: <IconTypograph />,
|
|
|
avatarColor: 'orange',
|
|
|
trendData: trendData.tpm,
|
|
|
trendColor: '#f97316'
|