diff --git a/public/index.html b/public/index.html index 6f294f9d..cd69496c 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 93ad0662..1a97baad 100644 --- a/src/views/main-sidebar.vue +++ b/src/views/main-sidebar.vue @@ -101,7 +101,7 @@ export default { }, connection () { // 建立连接对象 - this.socket = new SockJS('http://219.146.91.110:9094/epdc-api/ws/menuNoticeEndpoint')// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息,注意这里用的是http而不是原生WebSocket的ws + this.socket = new SockJS('http://10.10.10.118:9094/epdc-api/ws/menuNoticeEndpoint')// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息,注意这里用的是http而不是原生WebSocket的ws // 获取STOMP子协议的客户端对象 this.stompClient = Stomp.over(this.socket) diff --git a/src/views/modules/events/item-close-detail-view.vue b/src/views/modules/events/item-close-detail-view.vue index ee7cccf5..de6582bb 100644 --- a/src/views/modules/events/item-close-detail-view.vue +++ b/src/views/modules/events/item-close-detail-view.vue @@ -2,6 +2,7 @@