style: 仪表板组件样式优化

This commit is contained in:
shaw
2025-09-27 23:07:39 +08:00
parent ea28222c71
commit e675c5878e
3 changed files with 4 additions and 2 deletions

View File

@@ -447,6 +447,8 @@ env_key = "CRS_OAI_KEY"
export CRS_OAI_KEY="后台创建的API密钥" export CRS_OAI_KEY="后台创建的API密钥"
``` ```
> ⚠️ 在通过 Nginx 反向代理 CRS 服务并使用 Codex CLI 时,需要在 http 块中添加 underscores_in_headers on;。因为 Nginx 默认会移除带下划线的请求头(如 session_id一旦该头被丢弃多账号环境下的粘性会话功能将失效。
### 5. 第三方工具API接入 ### 5. 第三方工具API接入
本服务支持多种API端点格式方便接入不同的第三方工具如Cherry Studio等 本服务支持多种API端点格式方便接入不同的第三方工具如Cherry Studio等

View File

@@ -5669,7 +5669,7 @@ router.get('/account-usage-trend', authenticateAdmin, async (req, res) => {
const topAccounts = Array.from(accountCostTotals.entries()) const topAccounts = Array.from(accountCostTotals.entries())
.sort((a, b) => b[1] - a[1]) .sort((a, b) => b[1] - a[1])
.slice(0, 30) .slice(0, 20)
.map(([accountId]) => accountId) .map(([accountId]) => accountId)
return res.json({ return res.json({

View File

@@ -659,7 +659,7 @@
<span <span
v-if="accountUsageTrendData.topAccounts && accountUsageTrendData.topAccounts.length" v-if="accountUsageTrendData.topAccounts && accountUsageTrendData.topAccounts.length"
> >
显示成本前 {{ accountUsageTrendData.topAccounts.length }} 个账号 显示消耗排名前 {{ accountUsageTrendData.topAccounts.length }} 个账号
</span> </span>
</div> </div>
<div <div