zhulu 11 сар өмнө
parent
commit
5ecb9f56ab

+ 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'