Commit 2722ce78 by 郑杰

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

parent 98e38aff
......@@ -57,7 +57,7 @@ module.exports = {
* then assetsPublicPath should be set to "/bar/".
* In most cases please use '/' !!!
*/
assetsPublicPath: './',
assetsPublicPath: '/',
/**
* Source Maps
......
{
"name": "eladmin-qt",
"version": "1.0.0",
"version": "1.1.0",
"license": "Apache License 2.0",
"description": "eladmin 前端代码",
"author": "jie <zhengjie@tom.com>",
......
......@@ -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)
// 定义客户端的认证信息,按需求配置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment