From 6e161f6ff606008f3d43bf180d4aa8f8c40c31a0 Mon Sep 17 00:00:00 2001 From: "peng.peng" Date: Wed, 30 Aug 2023 09:25:12 +0800 Subject: [PATCH] =?UTF-8?q?(*)marker=E7=82=B9=E5=B1=95=E7=A4=BA=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../client/src/sections/community-safty/containers/gis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/super-screen/client/src/sections/community-safty/containers/gis.js b/super-screen/client/src/sections/community-safty/containers/gis.js index 5cf2e16..797617d 100644 --- a/super-screen/client/src/sections/community-safty/containers/gis.js +++ b/super-screen/client/src/sections/community-safty/containers/gis.js @@ -92,7 +92,7 @@ function Map(props) { }, [tab, devices]); useEffect(() => { - if (!delay) map && renderDevices() + if (!delay) tab == 'device' && map && renderDevices() }, [type]);