瀏覽代碼

屏蔽 APP端WebSocket

zhulu 11 月之前
父節點
當前提交
5ecb9f56ab
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/login.vue
  2. 1 1
      src/views/tokenlogin.vue

+ 1 - 1
src/views/login.vue

@@ -88,7 +88,7 @@ export default {
         this.$store.commit('SET_MESSAGE_SHOW', true)
         this.$router.replace('/home')
         //初始化websocket
-        this.initWebSocket();
+        // this.initWebSocket();
       })
     }
   }

+ 1 - 1
src/views/tokenlogin.vue

@@ -46,7 +46,7 @@ export default {
             sessionStorage.setItem('access_token',res.data.access_token);
             this.$router.replace('/home');
             //初始化websocket
-            this.initWebSocket();
+            // this.initWebSocket();
           })
           .catch(e => {
             this.type = 'error'