wangxiaogang 3 éve
szülő
commit
8db61bee12
2 módosított fájl, 5 hozzáadás és 3 törlés
  1. 1 1
      src/web/staticres/js/login.js
  2. 4 2
      src/web/staticres/js/message.js

+ 1 - 1
src/web/staticres/js/login.js

@@ -420,7 +420,7 @@ var logic = function(data,num){
       checkMenuForEnt()
 			infoListCss();
 			commonMouseEvent();
-            message.checkMessage()
+            // message.checkMessage()
             message.init()
 		}catch(e){}
 	}

+ 4 - 2
src/web/staticres/js/message.js

@@ -32,6 +32,7 @@ function Message() {
     // 初始化
     this.init = function () {
         this.checkOpened()
+        this.checkMessage()
         this.bindEvents()
     }
     // 悬浮窗列表数据请求
@@ -171,6 +172,7 @@ function Message() {
             })
         })
     }
-
-    this.init()
+    if (loginflag) {
+        this.init()
+    }
 }