v1.1 版本发布,代码同步后端v1.1版本

This commit is contained in:
郑杰
2018-12-25 12:34:18 +08:00
parent 98e38afff5
commit 2722ce78c3
3 changed files with 4 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ module.exports = {
* then assetsPublicPath should be set to "/bar/". * then assetsPublicPath should be set to "/bar/".
* In most cases please use '/' !!! * In most cases please use '/' !!!
*/ */
assetsPublicPath: './', assetsPublicPath: '/',
/** /**
* Source Maps * Source Maps

View File

@@ -1,6 +1,6 @@
{ {
"name": "eladmin-qt", "name": "eladmin-qt",
"version": "1.0.0", "version": "1.1.0",
"license": "Apache License 2.0", "license": "Apache License 2.0",
"description": "eladmin 前端代码", "description": "eladmin 前端代码",
"author": "jie <zhengjie@tom.com>", "author": "jie <zhengjie@tom.com>",

View File

@@ -72,7 +72,8 @@ export default {
}, },
connection(_this) { 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子协议的客户端对象 // 获取STOMP子协议的客户端对象
this.stompClient = Stomp.over(socket) this.stompClient = Stomp.over(socket)
// 定义客户端的认证信息,按需求配置 // 定义客户端的认证信息,按需求配置