From e050aee804f4cc6ebd6cf2c87cfe773583136d94 Mon Sep 17 00:00:00 2001 From: kongkongyo Date: Mon, 9 Feb 2026 21:50:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(monitor):=20=E4=BF=AE=E5=A4=8D=20RequestLog?= =?UTF-8?q?s=20=E7=B1=BB=E5=9E=8B=E6=8E=A8=E6=96=AD=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BB=A5=E9=80=82=E9=85=8D=E4=B8=8A=E6=B8=B8=20API=20=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- src/components/monitor/RequestLogs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/monitor/RequestLogs.tsx b/src/components/monitor/RequestLogs.tsx index 93f433c..06ececc 100644 --- a/src/components/monitor/RequestLogs.tsx +++ b/src/components/monitor/RequestLogs.tsx @@ -160,7 +160,7 @@ export function RequestLogs({ data, loading: parentLoading, providerMap, provide setLogLoading(true); try { const response = await usageApi.getUsage(); - const usageData = response?.usage ?? response; + const usageData = (response?.usage ?? response) as Record; // 应用时间范围过滤 if (usageData?.apis) {