From df80448fbd1bccdba131d797c0c7e93274ed6ba1 Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Sun, 28 Jun 2020 16:51:44 +0800
Subject: [PATCH] update离线去除风向图标

---
 src/main/webapp/view/newmap.jsp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/view/newmap.jsp b/src/main/webapp/view/newmap.jsp
index a7e50f0..aa73ca4 100644
--- a/src/main/webapp/view/newmap.jsp
+++ b/src/main/webapp/view/newmap.jsp
@@ -488,7 +488,7 @@
                         }
                         var moralMask = new moralMap.Equipment(obj);
                         moralMap.addOverlay(moralMask);
-                        if (obj['hasWindInfo']) {
+                        if (obj['hasWindInfo'] && obj['state'] != 4) {
                             var moralDeviceWind = new moralMap.Device(obj);
                             moralMap.addOverlay(moralDeviceWind);
                         }

--
Gitblit v1.8.0