Commit ba6c7788 by yuzhenWang

修复未登录有消息bug

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