From 8ccd465dd668ca8e834f003687395ce66bc7d614 Mon Sep 17 00:00:00 2001 From: "peng.peng" Date: Wed, 30 Aug 2023 14:24:28 +0800 Subject: [PATCH] =?UTF-8?q?(*)=20=E5=B1=95=E7=A4=BA=E4=BC=98=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 +- .../client/src/sections/fire-control/components/left-middle.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 797617d..c60dddc 100644 --- a/super-screen/client/src/sections/community-safty/containers/gis.js +++ b/super-screen/client/src/sections/community-safty/containers/gis.js @@ -89,7 +89,7 @@ function Map(props) { tab == 'device' && map && renderDevices() }, 200); } - }, [tab, devices]); + }, [delay, tab, devices]); useEffect(() => { if (!delay) tab == 'device' && map && renderDevices() diff --git a/super-screen/client/src/sections/fire-control/components/left-middle.js b/super-screen/client/src/sections/fire-control/components/left-middle.js index c1f8fe5..779eddd 100644 --- a/super-screen/client/src/sections/fire-control/components/left-middle.js +++ b/super-screen/client/src/sections/fire-control/components/left-middle.js @@ -130,7 +130,7 @@ function PopulationDynamics(props) { return
{ fireDevice.map(d =>
-
{d.type_name}
+
{d.type_name}