Commit 695bb13b by Administrator

Merge branch 'add-message-tip' into 'master'

Add message tip

See merge request pigbigbig/beyond-clouds-front!118
parents e538ee9a 2a79f44e
...@@ -308,6 +308,9 @@ ...@@ -308,6 +308,9 @@
.info2{ .info2{
margin-top: 10*$length; margin-top: 10*$length;
@include fontStyle(12,16,500,#999,left) @include fontStyle(12,16,500,#999,left)
a {
color: #00AAE6;
}
} }
} }
} }
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
}, },
sockets: { sockets: {
push_event(data) { push_event(data) {
console.log(data)
if (this.pages === 1) { if (this.pages === 1) {
this.dataGetMessages(1) this.dataGetMessages(1)
} }
......
...@@ -4,7 +4,6 @@ import socketio from 'socket.io-client' ...@@ -4,7 +4,6 @@ import socketio from 'socket.io-client'
export default function ({ app: { router }, store }) { export default function ({ app: { router }, store }) {
router.afterEach((to, from) => { router.afterEach((to, from) => {
console.log(from.name)
if (from && (from.name === null || from.name === 'users-login')) { if (from && (from.name === null || from.name === 'users-login')) {
const auth = store.state.auth; const auth = store.state.auth;
const socketUrl = process.env.NODE_ENV === 'production' ? 'https://api.yunliyunwai.cn' : 'http://api.opensource.yundingshuyuan.com' const socketUrl = process.env.NODE_ENV === 'production' ? 'https://api.yunliyunwai.cn' : 'http://api.opensource.yundingshuyuan.com'
......
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