Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-front
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
Administrator
beyond-clouds-front
Commits
695bb13b
Commit
695bb13b
authored
Feb 23, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'add-message-tip' into 'master'
Add message tip See merge request pigbigbig/beyond-clouds-front!118
parents
e538ee9a
2a79f44e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletions
+4
-1
components/pc/noticeCard.vue
+3
-0
pages/personal-center/message/all.vue
+1
-0
plugins/websocket.js
+0
-1
No files found.
components/pc/noticeCard.vue
View file @
695bb13b
...
...
@@ -308,6 +308,9 @@
.info2
{
margin-top
:
10
*$
length
;
@include
fontStyle(12,16,500,#999,left)
a
{
color
:
#00AAE6
;
}
}
}
}
...
...
pages/personal-center/message/all.vue
View file @
695bb13b
...
...
@@ -27,6 +27,7 @@
},
sockets
:
{
push_event
(
data
)
{
console
.
log
(
data
)
if
(
this
.
pages
===
1
)
{
this
.
dataGetMessages
(
1
)
}
...
...
plugins/websocket.js
View file @
695bb13b
...
...
@@ -4,7 +4,6 @@ import socketio from 'socket.io-client'
export
default
function
({
app
:
{
router
},
store
})
{
router
.
afterEach
((
to
,
from
)
=>
{
console
.
log
(
from
.
name
)
if
(
from
&&
(
from
.
name
===
null
||
from
.
name
===
'users-login'
))
{
const
auth
=
store
.
state
.
auth
;
const
socketUrl
=
process
.
env
.
NODE_ENV
===
'production'
?
'https://api.yunliyunwai.cn'
:
'http://api.opensource.yundingshuyuan.com'
...
...
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