From 641514bbfdeb9c7f575851226efa227f514b7dc4 Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Mon, 8 Dec 2025 19:34:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20remeasure=20?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E6=95=B0=E7=BB=84=E7=BC=BA=E5=B0=91=20pageTy?= =?UTF-8?q?pe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/hooks/useFirstScreenMetrics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useFirstScreenMetrics.ts b/src/hooks/useFirstScreenMetrics.ts index 10dda43b..018af60c 100644 --- a/src/hooks/useFirstScreenMetrics.ts +++ b/src/hooks/useFirstScreenMetrics.ts @@ -183,7 +183,7 @@ export const useFirstScreenMetrics = ( setIsLoading(false); } }, 1000); // 延迟 1 秒收集 - }, [collectAllMetrics, trackFirstScreenInteractive, enableConsoleLog]); + }, [pageType, collectAllMetrics, trackFirstScreenInteractive, enableConsoleLog]); /** * 导出指标为 JSON