From 6dfb91382207299f51cbb557eaa704400da2919f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E5=95=A6C=E6=A2=A6?= <15709267061@163.com> Date: Mon, 25 Aug 2025 13:22:50 +0800 Subject: [PATCH] update --- src/App.vue | 6 ++++-- src/components/WXOfficialAccount.vue | 1 - src/pages/login/BulletChat.vue | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index ac3b364..9b7073d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,8 +12,10 @@ export default { if (!UserStore.isLogin && window.location.href.indexOf('/pages/register/index') < 0 && window.location.href.indexOf('/pages/fastInput/index') < 0) { toPage('/pages/login/index'); } - const SystemStore = useSystemStore(); - SystemStore.getMessageCount(); + if (UserStore.isLogin) { + const SystemStore = useSystemStore(); + SystemStore.getMessageCount(); + } // #endif }, onHide: function () { diff --git a/src/components/WXOfficialAccount.vue b/src/components/WXOfficialAccount.vue index c9a0eac..c936531 100644 --- a/src/components/WXOfficialAccount.vue +++ b/src/components/WXOfficialAccount.vue @@ -1,7 +1,6 @@