From 67a7a24b47d71dd843dd0b17c5cdf9f519e29d5d Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Tue, 30 Jun 2020 13:20:25 +0800
Subject: [PATCH] update大屏左侧站点设备查询优化及设备因子名称显示null问题

---
 src/main/webapp/js/newmoralmap.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/js/newmoralmap.js b/src/main/webapp/js/newmoralmap.js
index 95a4695..9dd84cf 100644
--- a/src/main/webapp/js/newmoralmap.js
+++ b/src/main/webapp/js/newmoralmap.js
@@ -746,6 +746,7 @@
                     if (speedLevel == 0) {
                         moralMap.removeOverlay(this);
                     } else {
+                        moralMap.addOverlay(this);
                         var iconObj = _getWindIcon(speedLevel);
                         this.setIcon(iconObj);
                         this.setRotation(windDir);
@@ -845,7 +846,7 @@
     var sensorsDescriptionMap;
     var sensorsUnitMap;
     $.ajax({
-        url: "getSensorsMap",
+        url: "getSensorsAllMap",
         type: "get",
         dataType: "json",
         success: function (data) {

--
Gitblit v1.8.0