mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 00:53:33 +00:00
fix: 修复apikey窗口限制时间显示异常的问题
This commit is contained in:
@@ -3969,6 +3969,8 @@ const showUsageDetails = (apiKey) => {
|
||||
dailyCost: cachedStats?.dailyCost ?? apiKey.dailyCost ?? 0,
|
||||
currentWindowCost: cachedStats?.currentWindowCost ?? apiKey.currentWindowCost ?? 0,
|
||||
windowRemainingSeconds: cachedStats?.windowRemainingSeconds ?? apiKey.windowRemainingSeconds,
|
||||
windowStartTime: cachedStats?.windowStartTime ?? apiKey.windowStartTime ?? null,
|
||||
windowEndTime: cachedStats?.windowEndTime ?? apiKey.windowEndTime ?? null,
|
||||
// 合并 usage 数据(用于详情弹窗中的统计卡片)
|
||||
usage: {
|
||||
...apiKey.usage,
|
||||
|
||||
Reference in New Issue
Block a user