From ad51f05f31440bcc64e0ef248ab32fd12997e565 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 07 六月 2023 13:25:02 +0800
Subject: [PATCH] Merge branch 'Dev-Branch' into wjc

---
 HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
index 5c82a1c..3bf20a9 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
@@ -818,6 +818,10 @@
         /// </summary>
         void GetUnreadPushMessages()
         {
+            if (MainPage.NoLoginMode)
+            {
+                return;
+            }
             System.Threading.Tasks.Task.Run(() =>
             {
                 try
@@ -922,6 +926,10 @@
         /// </summary>
         void RegisterGetPushMessageAction()
         {
+            if (MainPage.NoLoginMode)
+            {
+                return;
+            }
             Action RegisterGetPushMessageAction = () => {
                 if (bodyView != null)
                 {

--
Gitblit v1.8.0