From d385e21da62842d6575a9a4ed56d0715726dc21e Mon Sep 17 00:00:00 2001 From: xsx <825657193@qq.com> Date: Sun, 22 Oct 2023 21:32:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=AA=E8=AF=BB=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E6=98=BE=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-uniapp/pages/chat/chat.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/im-uniapp/pages/chat/chat.vue b/im-uniapp/pages/chat/chat.vue index 14b3225..3f8411c 100644 --- a/im-uniapp/pages/chat/chat.vue +++ b/im-uniapp/pages/chat/chat.vue @@ -83,7 +83,8 @@ }) } else { uni.removeTabBarBadge({ - index: 0 + index: 0, + complete:()=>{} }) } @@ -103,7 +104,7 @@ this.refreshUnreadBadge(); } }, - onLoad() { + onShow() { this.refreshUnreadBadge(); } }