From bc7b5c9e80128f335f7b33180998112b57abf46f Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Wed, 12 Feb 2025 08:47:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=9C=AA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=AE=A2=E6=9C=8D=E5=9B=BE=E6=A0=87=E4=BC=9A?= =?UTF-8?q?=E9=97=AA=E7=83=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/my/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/my/index.vue b/pages/my/index.vue index 293bc8d..327e4f1 100644 --- a/pages/my/index.vue +++ b/pages/my/index.vue @@ -349,7 +349,7 @@ let keFuLastMsgCount = this.$queue.getData('keFuLastMsgCount'); let keFuNewMsgCount = this.$queue.getData('keFuNewMsgCount'); if (keFuLastMsgCount == undefined) { - if (keFuNewMsgCount != 0) this.haveNewMsg = true + if (keFuNewMsgCount != 0 && keFuNewMsgCount != undefined) this.haveNewMsg = true } else { if (keFuNewMsgCount != undefined && keFuNewMsgCount > keFuLastMsgCount) this.haveNewMsg = true }