From bddf7f13723d44c5943b360eb48fb984e62abeb4 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Tue, 19 May 2026 17:06:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=B0=E5=9B=BE=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=9F=8E=E5=B8=82=E8=B7=B3=E8=BD=AC=E5=86=B3=E7=AD=96?= =?UTF-8?q?=E5=8D=A1=EF=BC=9APro=20=E7=94=A8=E6=88=B7=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=88=B0=E5=88=86=E6=9E=90=E8=A7=86=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/components/dashboard/ScanTerminalDashboard.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/components/dashboard/ScanTerminalDashboard.tsx b/frontend/components/dashboard/ScanTerminalDashboard.tsx index cb7d4a98..0eb13690 100644 --- a/frontend/components/dashboard/ScanTerminalDashboard.tsx +++ b/frontend/components/dashboard/ScanTerminalDashboard.tsx @@ -331,8 +331,12 @@ function ScanTerminalScreen() { void store.ensureCityDetail(cityName, false, "panel").catch(() => {}); setSelectedRowId(null); } + if (isPro) { + addAiPinnedCity(cityName); + setActiveView("analysis"); + } }, - [store, timeSortedRows], + [store, timeSortedRows, isPro, addAiPinnedCity], ); useEffect(() => {