Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
agcs2.0-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liang
agcs2.0-web
Commits
7b0bd01e
Commit
7b0bd01e
authored
Apr 03, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息
parent
74501d35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.vue
src/layouts/components/NavBar/index.vue
+3
-2
No files found.
src/layouts/components/NavBar/index.vue
View file @
7b0bd01e
...
...
@@ -216,8 +216,9 @@ export default {
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
$store
.
commit
(
"
user/setGetMessageFlag
"
,
false
)
this
.
messageCount
=
res
.
data
.
total
this
.
messageList
=
[...
this
.
messageList
,
...
res
.
data
.
records
]
// this.messageCount = res.data.page.total
this
.
messageCount
=
res
.
data
.
unReadNum
this
.
messageList
=
[...
this
.
messageList
,
...
res
.
data
.
page
.
records
]
// console.log(res.data.total)
}
else
{
this
.
messageCount
=
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