From 21a8ae8922b880d4c0303116f7c88311e067de2f Mon Sep 17 00:00:00 2001 From: qzc Date: Fri, 12 Sep 2025 13:34:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E6=AD=A2=E4=BB=8E3d=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E4=B8=BA=E5=BD=B1=E5=83=8F=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home/btn/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/Home/btn/index.js b/src/views/Home/btn/index.js index dc280ff70..1e4c951fa 100644 --- a/src/views/Home/btn/index.js +++ b/src/views/Home/btn/index.js @@ -32,6 +32,9 @@ export default function Btn({showPanels,setShowPanels}) { } //影像图btn const yxtBtn = () =>{ + if(mode==='3d'){ + return + } dispatch.map.setMode('2d'); dispatch.map.setLayerVisible({ ['OfflineMap']: false }); dispatch.map.setLayerVisible({ ['SatelliteImage']: true });