@@ -623,7 +623,7 @@ const TokensTable = () => {
size="medium"
color="green"
>
-
{t('请求次数')}
diff --git a/web/src/pages/Detail/index.js b/web/src/pages/Detail/index.js
index bdbee22f..baaec158 100644
--- a/web/src/pages/Detail/index.js
+++ b/web/src/pages/Detail/index.js
@@ -449,42 +449,42 @@ const Detail = (props) => {
{
title: t('当前余额'),
value: renderQuota(userState?.user?.quota),
- icon:
,
+ icon:
,
color: 'bg-blue-50',
avatarColor: 'blue',
},
{
title: t('历史消耗'),
value: renderQuota(userState?.user?.used_quota),
- icon:
,
+ icon:
,
color: 'bg-purple-50',
avatarColor: 'purple',
},
{
title: t('请求次数'),
value: userState.user?.request_count,
- icon:
,
+ icon:
,
color: 'bg-green-50',
avatarColor: 'green',
},
{
title: t('统计额度'),
value: renderQuota(consumeQuota),
- icon:
,
+ icon:
,
color: 'bg-yellow-50',
avatarColor: 'yellow',
},
{
title: t('统计Tokens'),
value: isNaN(consumeTokens) ? 0 : consumeTokens,
- icon:
,
+ icon:
,
color: 'bg-pink-50',
avatarColor: 'pink',
},
{
title: t('统计次数'),
value: times,
- icon:
,
+ icon:
,
color: 'bg-teal-50',
avatarColor: 'cyan',
},
@@ -494,7 +494,7 @@ const Detail = (props) => {
times /
((Date.parse(end_timestamp) - Date.parse(start_timestamp)) / 60000)
).toFixed(3),
- icon:
,
+ icon:
,
color: 'bg-indigo-50',
avatarColor: 'indigo',
},
@@ -505,7 +505,7 @@ const Detail = (props) => {
((Date.parse(end_timestamp) - Date.parse(start_timestamp)) / 60000);
return isNaN(tpm) ? '0' : tpm.toFixed(3);
})(),
- icon:
,
+ icon:
,
color: 'bg-orange-50',
avatarColor: 'orange',
},
@@ -613,7 +613,7 @@ const Detail = (props) => {
-
+
{statsData.map((stat, idx) => (