Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
front-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
front-backend
Commits
68c60a48
Commit
68c60a48
authored
Dec 25, 2018
by
郑杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v1.1 版本发布,代码同步后端v1.1版本
parent
2722ce78
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
10 deletions
+9
-10
build/build.js
+1
-1
build/check-versions.js
+4
-4
build/webpack.dev.conf.js
+1
-1
config/dev.env.js
+1
-1
config/prod.env.js
+1
-1
src/views/monitor/log/msg.vue
+1
-2
No files found.
build/build.js
View file @
68c60a48
...
...
@@ -40,7 +40,7 @@ rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
console
.
log
(
chalk
.
yellow
(
' 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"
)
)
...
...
build/check-versions.js
View file @
68c60a48
...
...
@@ -36,10 +36,10 @@ module.exports = function() {
if
(
!
semver
.
satisfies
(
mod
.
currentVersion
,
mod
.
versionRequirement
))
{
warnings
.
push
(
mod
.
name
+
': '
+
chalk
.
red
(
mod
.
currentVersion
)
+
' should be '
+
chalk
.
green
(
mod
.
versionRequirement
)
': '
+
chalk
.
red
(
mod
.
currentVersion
)
+
' should be '
+
chalk
.
green
(
mod
.
versionRequirement
)
)
}
}
...
...
build/webpack.dev.conf.js
View file @
68c60a48
...
...
@@ -83,7 +83,7 @@ module.exports = new Promise((resolve, reject) => {
messages
:
[
`Your application is running here: http://
${
devWebpackConfig
.
devServer
.
host
}
:
${
port
}
`
}
:
${
port
}
`
]
},
onErrors
:
config
.
dev
.
notifyOnErrors
...
...
config/dev.env.js
View file @
68c60a48
...
...
@@ -4,5 +4,5 @@ const prodEnv = require('./prod.env')
module
.
exports
=
merge
(
prodEnv
,
{
NODE_ENV
:
'"development"'
,
BASE_API
:
'"http://localhost:8000"'
,
BASE_API
:
'"http://localhost:8000"'
})
config/prod.env.js
View file @
68c60a48
'use strict'
module
.
exports
=
{
NODE_ENV
:
'"production"'
,
BASE_API
:
'"http://api.auauz.net"'
,
BASE_API
:
'"http://api.auauz.net"'
}
src/views/monitor/log/msg.vue
View file @
68c60a48
...
...
@@ -72,8 +72,7 @@ export default {
},
connection
(
_this
)
{
// 建立连接对象,注意部署到线上后也要修改对应的地址
// const socket = new SockJS('http://localhost:8000/websocket?token=kl')// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息
const
socket
=
new
SockJS
(
'http://api.auauz.net/websocket?token=kl'
)
// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息
const
socket
=
new
SockJS
(
'http://localhost:/websocket?token=kl'
)
// 连接服务端提供的通信接口,连接以后才可以订阅广播消息和个人消息
// 获取STOMP子协议的客户端对象
this
.
stompClient
=
Stomp
.
over
(
socket
)
// 定义客户端的认证信息,按需求配置
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment