From edfb48fa10b0518311ee46bef4aded0859069d16 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期二, 18 七月 2023 17:51:52 +0800 Subject: [PATCH] 2023年07月18日17:50:46 --- 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