From 78cf01d06d3ce9edf9e01b09460fbb9c6239b35e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 25 Mar 2021 15:23:01 +0800
Subject: [PATCH] 注释修改

---
 src/page/index/logo.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/page/index/logo.vue b/src/page/index/logo.vue
index 666cccb..9523cbe 100644
--- a/src/page/index/logo.vue
+++ b/src/page/index/logo.vue
@@ -339,7 +339,7 @@
     };
   },
   created() {
-    //this.getData();
+    this.getData();
     this.websocketStart();
   },
   computed: {
@@ -366,6 +366,7 @@
           url: "/api/blade-jfpts/alarm/alarm/selecttx?id=" + that.deviceId,
           method: "post",
         }).then(function (response) {
+          console.log(response, 11111111);
           var userId = JSON.parse(
             window.localStorage.getItem("物联网安保云服务平台-userInfo")
           ).content.user_id;
@@ -771,11 +772,11 @@
         window.WebSocket = window.MozWebSocket;
       }
       if (window.WebSocket) {
-        //https
-        //window.socket = new WebSocket("wss://web.byisf.com/wss/websocket/");
+        // https
+        window.socket = new WebSocket("wss://web.byisf.com/wss/websocket/");
 
         //http
-        window.socket = new WebSocket("ws://localhost:9034/websocket");
+        // window.socket = new WebSocket("ws://localhost:9034/websocket");
 
         window.socket.onmessage = function (event) {
         };

--
Gitblit v1.9.3