From 2722ce78c3262fe9c977663fcf69228abddde3ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=9D=B0?= Date: Tue, 25 Dec 2018 12:34:18 +0800 Subject: [PATCH] =?UTF-8?q?v1.1=20=E7=89=88=E6=9C=AC=E5=8F=91=E5=B8=83,?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=90=8C=E6=AD=A5=E5=90=8E=E7=AB=AFv1.1?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- package.json | 2 +- src/views/monitor/log/msg.vue | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/index.js b/config/index.js index fef0c38..f70a9d5 100644 --- a/config/index.js +++ b/config/index.js @@ -57,7 +57,7 @@ module.exports = { * then assetsPublicPath should be set to "/bar/". * In most cases please use '/' !!! */ - assetsPublicPath: './', + assetsPublicPath: '/', /** * Source Maps diff --git a/package.json b/package.json index a0b35c0..e99329b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eladmin-qt", - "version": "1.0.0", + "version": "1.1.0", "license": "Apache License 2.0", "description": "eladmin 前端代码", "author": "jie ", diff --git a/src/views/monitor/log/msg.vue b/src/views/monitor/log/msg.vue index c630344..5731695 100644 --- a/src/views/monitor/log/msg.vue +++ b/src/views/monitor/log/msg.vue @@ -72,7 +72,8 @@ export default { }, connection(_this) { // 建立连接对象,注意部署到线上后也要修改对应的地址 - const socket = new SockJS('http://localhost:8000/websocket?token=kl')// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息 + // const socket = new SockJS('http://localhost:8000/websocket?token=kl')// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息 + const socket = new SockJS('http://api.auauz.net/websocket?token=kl')// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息 // 获取STOMP子协议的客户端对象 this.stompClient = Stomp.over(socket) // 定义客户端的认证信息,按需求配置