From 85e6849b17147996024d648bf7ff60a55a4e045e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Sun, 7 Sep 2025 06:54:30 +0800 Subject: [PATCH] xiufu goujian --- components/dashboard/network-timeline.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dashboard/network-timeline.tsx b/components/dashboard/network-timeline.tsx index 12a217d..83e1bf5 100644 --- a/components/dashboard/network-timeline.tsx +++ b/components/dashboard/network-timeline.tsx @@ -1313,7 +1313,7 @@ export function NetworkTimeline({ {/* 复制按钮 */} {(() => { - let errorInfo; + let errorInfo: { hasError: boolean; errorMessage: string; errorCode?: string }; if (task.level === 0) { const originalTask = tasks.find((t: any) => t.task_id === task.id); if (!originalTask) return null; @@ -1671,7 +1671,7 @@ export function NetworkTimeline({ {/* 错误信息显示 */} {task.statusCode >= 400 && (() => { // 根据任务层级选择不同的错误信息获取方式 - let errorInfo; + let errorInfo: { hasError: boolean; errorMessage: string; errorCode?: string }; if (task.level === 0) { // 主任务 const originalTask = tasks.find((t: any) => t.task_id === task.id);