v1.1 版本发布,代码同步后端v1.1版本
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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>",
|
||||||
|
|||||||
@@ -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)
|
||||||
// 定义客户端的认证信息,按需求配置
|
// 定义客户端的认证信息,按需求配置
|
||||||
|
|||||||
Reference in New Issue
Block a user