Commit 5d98bef8 by yuzhenWang

Merge branch 'feature-20250609-优化cffp' into 'dev'

修复未登录有消息bug

See merge request !18
parents 6b8f91d4 ba6c7788
...@@ -115,7 +115,6 @@ ...@@ -115,7 +115,6 @@
} }
this.loginType='visitor' this.loginType='visitor'
this.initForm() this.initForm()
uni.removeTabBarBadge({ index: 3 });
// 获取跳转来源(通过路由参数) // 获取跳转来源(通过路由参数)
const pages = getCurrentPages(); const pages = getCurrentPages();
const currentPage = pages[pages.length - 1]; const currentPage = pages[pages.length - 1];
......
...@@ -350,6 +350,8 @@ ...@@ -350,6 +350,8 @@
} }
if(loginType == 'codelogin'){ if(loginType == 'codelogin'){
this.querySystemMessage() this.querySystemMessage()
}else {
uni.removeTabBarBadge({ index: 3 });
} }
this.queryAreaCenterInfo(); this.queryAreaCenterInfo();
} else { } else {
......
...@@ -197,6 +197,8 @@ ...@@ -197,6 +197,8 @@
if(this.loginType == 'codelogin'){ if(this.loginType == 'codelogin'){
this.querySystemMessage() this.querySystemMessage()
this.queryInfo(); this.queryInfo();
}else {
this.msgTotal = 0
} }
uni.$on("handClick", res => { uni.$on("handClick", res => {
this.customerBasicInfo = res.data this.customerBasicInfo = res.data
......
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