v1.1 版本发布,代码同步后端v1.1版本
This commit is contained in:
@@ -40,7 +40,7 @@ rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
|
|||||||
console.log(
|
console.log(
|
||||||
chalk.yellow(
|
chalk.yellow(
|
||||||
' Tip: built files are meant to be served over an HTTP server.\n' +
|
' Tip: built files are meant to be served over an HTTP server.\n' +
|
||||||
" Opening index.html over file:// won't work.\n"
|
" Opening index.html over file:// won't work.\n"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ module.exports = function() {
|
|||||||
if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {
|
if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {
|
||||||
warnings.push(
|
warnings.push(
|
||||||
mod.name +
|
mod.name +
|
||||||
': ' +
|
': ' +
|
||||||
chalk.red(mod.currentVersion) +
|
chalk.red(mod.currentVersion) +
|
||||||
' should be ' +
|
' should be ' +
|
||||||
chalk.green(mod.versionRequirement)
|
chalk.green(mod.versionRequirement)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ module.exports = new Promise((resolve, reject) => {
|
|||||||
messages: [
|
messages: [
|
||||||
`Your application is running here: http://${
|
`Your application is running here: http://${
|
||||||
devWebpackConfig.devServer.host
|
devWebpackConfig.devServer.host
|
||||||
}:${port}`
|
}:${port}`
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
onErrors: config.dev.notifyOnErrors
|
onErrors: config.dev.notifyOnErrors
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ const prodEnv = require('./prod.env')
|
|||||||
|
|
||||||
module.exports = merge(prodEnv, {
|
module.exports = merge(prodEnv, {
|
||||||
NODE_ENV: '"development"',
|
NODE_ENV: '"development"',
|
||||||
BASE_API: '"http://localhost:8000"',
|
BASE_API: '"http://localhost:8000"'
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
'use strict'
|
'use strict'
|
||||||
module.exports = {
|
module.exports = {
|
||||||
NODE_ENV: '"production"',
|
NODE_ENV: '"production"',
|
||||||
BASE_API: '"http://api.auauz.net"',
|
BASE_API: '"http://api.auauz.net"'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,8 +72,7 @@ export default {
|
|||||||
},
|
},
|
||||||
connection(_this) {
|
connection(_this) {
|
||||||
// 建立连接对象,注意部署到线上后也要修改对应的地址
|
// 建立连接对象,注意部署到线上后也要修改对应的地址
|
||||||
// const socket = new SockJS('http://localhost:8000/websocket?token=kl')// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息
|
const socket = new SockJS('http://localhost:/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