Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
0f838a4f
Commit
0f838a4f
authored
Aug 05, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息通知fixed
parent
e64254a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
src/App.vue
src/App.vue
+1
-4
No files found.
src/App.vue
View file @
0f838a4f
...
@@ -16,9 +16,6 @@ export default {
...
@@ -16,9 +16,6 @@ export default {
getCurrentUser
()
{
getCurrentUser
()
{
this
.
$api
.
user
.
getNowUser
().
then
(({
data
})
=>
{
this
.
$api
.
user
.
getNowUser
().
then
(({
data
})
=>
{
if
(
data
.
success
==
1
)
{
if
(
data
.
success
==
1
)
{
console
.
log
(
"
--- --- ---
"
);
console
.
log
(
data
.
data
);
console
.
log
(
"
--- --- ---
"
);
this
.
$store
.
commit
(
"
userInfofun
"
,
data
.
data
);
this
.
$store
.
commit
(
"
userInfofun
"
,
data
.
data
);
}
else
{
}
else
{
console
.
log
(
data
.
errMsg
);
console
.
log
(
data
.
errMsg
);
...
@@ -35,7 +32,7 @@ export default {
...
@@ -35,7 +32,7 @@ export default {
})
})
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
if
(
data
.
success
===
1
)
{
if
(
data
.
success
===
1
)
{
this
.
setUnreadMessageCount
(
data
.
data
.
total
||
0
);
this
.
$store
.
commit
(
"
setUnreadMessageCount
"
,
data
.
data
.
total
||
0
);
}
}
});
});
},
},
...
...
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