Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
Chao Sun
CFFP-HB
Commits
ba6c7788
Commit
ba6c7788
authored
Jun 23, 2025
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复未登录有消息bug
parent
3d2022e7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletions
+4
-1
components/login/login.vue
+0
-1
pages/index/index.vue
+2
-0
pages/personalCenter/personalCenter.vue
+2
-0
No files found.
components/login/login.vue
View file @
ba6c7788
...
...
@@ -115,7 +115,6 @@
}
this
.
loginType
=
'visitor'
this
.
initForm
()
uni
.
removeTabBarBadge
({
index
:
3
});
// 获取跳转来源(通过路由参数)
const
pages
=
getCurrentPages
();
const
currentPage
=
pages
[
pages
.
length
-
1
];
...
...
pages/index/index.vue
View file @
ba6c7788
...
...
@@ -228,6 +228,8 @@
}
if
(
loginType
==
'codelogin'
){
this
.
querySystemMessage
()
}
else
{
uni
.
removeTabBarBadge
({
index
:
3
});
}
this
.
queryAreaCenterInfo
();
}
else
{
...
...
pages/personalCenter/personalCenter.vue
View file @
ba6c7788
...
...
@@ -246,6 +246,8 @@
if
(
this
.
loginType
==
'codelogin'
){
this
.
querySystemMessage
()
this
.
queryInfo
();
}
else
{
this
.
msgTotal
=
0
}
uni
.
$on
(
"handClick"
,
res
=>
{
this
.
customerBasicInfo
=
res
.
data
...
...
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