From 6df7bb45d905be32bb70ce32907f54af1ad6deb6 Mon Sep 17 00:00:00 2001 From: rongchao Date: Tue, 29 Oct 2019 15:37:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 2 +- src/views/main-sidebar.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 65c8b7bb..d7efce9a 100644 --- a/public/index.html +++ b/public/index.html @@ -33,7 +33,7 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> diff --git a/src/views/main-sidebar.vue b/src/views/main-sidebar.vue index 7f737475..29c48ed0 100644 --- a/src/views/main-sidebar.vue +++ b/src/views/main-sidebar.vue @@ -91,7 +91,7 @@ export default { }, connection () { // 建立连接对象 - this.socket = new SockJS('http://192.168.15.174:9094/epdc/ws/menuNoticeEndpoint')// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息,注意这里用的是http而不是原生WebSocket的ws + this.socket = new SockJS('http://219.146.91.110:9094/epdc-api/ws/menuNoticeEndpoint')// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息,注意这里用的是http而不是原生WebSocket的ws // 获取STOMP子协议的客户端对象 this.stompClient = Stomp.over(this.socket)