From 9b02f67b17b9dcbd798862021ac0a516d1ba69b3 Mon Sep 17 00:00:00 2001
From: 于紫祥_1901 <email@yuzixiang_1910>
Date: Fri, 06 Nov 2020 15:37:24 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/main/webapp/view/newUnorganizedMap.jsp |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/view/newUnorganizedMap.jsp b/src/main/webapp/view/newUnorganizedMap.jsp
index f923a81..9c23b9f 100644
--- a/src/main/webapp/view/newUnorganizedMap.jsp
+++ b/src/main/webapp/view/newUnorganizedMap.jsp
@@ -19,7 +19,7 @@
         #box {
             width: 300px;
             height: 400px;
-            top: 220px;
+            top: 30px;
             right: 30px;
             position: absolute;
             z-index: 1;
@@ -157,10 +157,17 @@
                   moralMap.showSensors(JSON.parse(JSON.parse(msg.data)));
               }*/
         };
+        window.onbeforeunload=function(e){
+            e = window.event||e;
 
+            e.returnValue=("������������������������������");
+            ws.onclose = function () {
+            };
+            alert(1)
+        }
         //������������
-        ws.onclose = function () {
-        };
+        /*ws.onclose = function () {
+        };*/
         //���������������������
         ws.onerror = function () {
         };

--
Gitblit v1.8.0