From 04dc60723434d7e7b1ea5052e971c900b77d1cfc Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Mon, 02 Sep 2019 11:07:12 +0800
Subject: [PATCH] 解决弹窗undefined

---
 src/main/webapp/view/pollutionsource.jsp |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/view/pollutionsource.jsp b/src/main/webapp/view/pollutionsource.jsp
index d353b31..0991f1b 100644
--- a/src/main/webapp/view/pollutionsource.jsp
+++ b/src/main/webapp/view/pollutionsource.jsp
@@ -170,6 +170,8 @@
         }
         if (condition.indexOf("���") != -1) {
             supplement = "������������������������������������������������������������������������";
+        }else{
+            supplement ="";
         }
         winfowTextSource = "<p style='height: 22px;line-height: 22px'>���������������������������������������������������������������������������������" + supplement + "</p>";
     } else if (month == 3 || month == 4 || month == 5) {
@@ -178,6 +180,8 @@
         }
         if (condition.indexOf("���") != -1) {
             supplement = "������������������������������������������������������������������������";
+        }else{
+            supplement ="";
         }
         winfowTextSource = "<p style='height: 22px;line-height: 22px'>���������������������������������������������������������������" + supplement + "</p>";
     } else if (month == 6 || month == 7) {
@@ -186,6 +190,8 @@
         }
         if (condition.indexOf("���") != -1) {
             supplement = "���������������������������������������������������������������������������";
+        }else{
+            supplement ="";
         }
         winfowTextSource = "<p style='height: 22px;line-height: 22px'>���������������������������������������,���������������������" + supplement + "</p>";
     } else if (month == 8 || month == 9 || month == 10 || month == 11) {
@@ -194,6 +200,8 @@
         }
         if (condition.indexOf("���") != -1) {
             supplement = "������������������������������������������������������������������������";
+        }else{
+            supplement ="";
         }
         winfowTextSource = "<p style='height: 22px;line-height: 22px'>������������������������������������������������������������������������������������������������������" + supplement + "</p>";
     }

--
Gitblit v1.8.0