Browse Source

(*)消防站展示优化

master
peng.peng 1 year ago
parent
commit
065591000a
  1. 4
      super-screen/client/src/sections/fire-control/containers/gis.js

4
super-screen/client/src/sections/fire-control/containers/gis.js

@ -60,7 +60,7 @@ function Map(props) {
}
useEffect(() => {
if (!delay && alarmList?.length > 0 && emergencyList['xfjy']) {
if (!delay && (alarmList?.length > 0 || emergencyList['xfjy'])) {
map.clearMap()
map && renderMarkers()
map && renderAlarms()
@ -301,7 +301,7 @@ function Map(props) {
</div>
{
propTab == 'overview' && <div className='alarm_confirm'>
propTab !== 'overview' && <div className='alarm_confirm'>
<div className='hande_button'
onClick={() => {
map.clearInfoWindow();

Loading…
Cancel
Save