@ -283,9 +283,13 @@ export default {
text: String(res.approvePassHasNotRed),
});
} else {
uni.removeTabBarBadge({
try {
index: 2,
} catch (error) {
console.log("当前页面不是 TabBar 页面,无法移除 badge");
}
@ -764,9 +764,13 @@ export default {
that.readed = false;
that.readed = true;