chrislee 2 сар өмнө
parent
commit
3545fa1693
1 өөрчлөгдсөн 0 нэмэгдсэн , 5 устгасан
  1. 0 5
      src/views/main.vue

+ 0 - 5
src/views/main.vue

@@ -91,12 +91,7 @@ export default {
           this.$cookie.set('name', data.data.name)
 
           // websocket初始化
-          // 线上地址
           this.$store.dispatch('websocket/WEBSOCKET_INIT', `wss://${config.currentHost}/wss/web_socket/${data.data.userId}_${Math.ceil(Math.random() * 100000000)}`)
-          // 东齐环境
-          // this.$store.dispatch('websocket/WEBSOCKET_INIT', 'wss://192.168.2.124/wss/web_socket/' + data.data.userId + '_' + (Math.ceil(Math.random() * 100000000)).toString())
-          // 昌柘环境
-          // this.$store.dispatch('websocket/WEBSOCKET_INIT', 'wss://192.168.110.222/wss/web_socket/' + data.data.userId + '_' + (Math.ceil(Math.random() * 100000000)).toString())
         }
       })
     }