From d903f312cf6a1d0fc4c5745832a9d6fa681e5141 Mon Sep 17 00:00:00 2001
From: 于紫祥_1901 <email@yuzixiang_1910>
Date: Tue, 30 Jun 2020 09:16:07 +0800
Subject: [PATCH] update(无组织排放)

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

diff --git a/src/main/webapp/js/newmoralmap.js b/src/main/webapp/js/newmoralmap.js
index c45648a..b7842a8 100644
--- a/src/main/webapp/js/newmoralmap.js
+++ b/src/main/webapp/js/newmoralmap.js
@@ -743,13 +743,13 @@
                     } else if (windSpeed > 17.1) {
                         speedLevel = 8;
                     }
-                }
-                if (speedLevel == 0) {
-                    moralMap.removeOverlay(this);
-                } else {
-                    var iconObj = _getWindIcon(speedLevel);
-                    this.setIcon(iconObj);
-                    this.setRotation(windDir);
+                    if (speedLevel == 0) {
+                        moralMap.removeOverlay(this);
+                    } else {
+                        var iconObj = _getWindIcon(speedLevel);
+                        this.setIcon(iconObj);
+                        this.setRotation(windDir);
+                    }
                 }
             },
             getOption: function () {

--
Gitblit v1.8.0