From 1d681316a76e93b6696242d362924d8a6bf730ac Mon Sep 17 00:00:00 2001 From: mmc <1556375442@qq.com> Date: Wed, 2 Sep 2026 15:13:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E9=A3=9E=E8=BF=87=E5=8E=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Map.jsx | 6 +++--- src/pages/Home.tsx | 6 +++--- src/pages/RealTimeMonitor.tsx | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/Map.jsx b/src/components/Map.jsx index f45087f..4375e2d 100644 --- a/src/components/Map.jsx +++ b/src/components/Map.jsx @@ -500,9 +500,9 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine, //if (index == 2 && from == "other") { // //flyToLayer(layerIdentifier, baseUrl, 100); //} - //if (index == 0 && from == "other") { - // flyToLayer(layerIdentifier, baseUrl, 100); - //} + if (index == 1 && from == "other") { + flyToLayer(layerIdentifier, baseUrl, 100); + } //getLayerBoundsAndFit(wmsUrl, layerName); if (baseUrl.includes('/gwc/service/wms')) { diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 69d7a97..69a1370 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -363,15 +363,15 @@ export default function StationDashboard() { bodyStyle={{ padding: 0, position: 'relative', overflow: 'hidden', height: 500 }} >