From 531f1380ec8478e109118cf96bc2c9f31e9278d1 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 23 六月 2021 09:27:23 +0800
Subject: [PATCH] 代码同步

---
 HDL_ON/UI/UI2/UserPage.cs |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs
index 44540a8..8147061 100644
--- a/HDL_ON/UI/UI2/UserPage.cs
+++ b/HDL_ON/UI/UI2/UserPage.cs
@@ -121,8 +121,11 @@
                 ContextView.AddChidren(homePage);
                 homePage.LoadPage();
 
-                //娉ㄥ唽鎺ㄩ�両D
-                RegisteredPush();
+                if (!MainPage.NoLoginMode)
+                {
+                    //娉ㄥ唽鎺ㄩ�両D
+                    RegisteredPush();
+                }
                 //2020-12-07 澧炲姞鐗堟湰妫�娴嬫洿鏂版柟娉�
                 HDLCommon.Current.CheckIfNeedForceUpdate();
 
@@ -565,12 +568,6 @@
         /// </summary>
         public void ChoosePersonalCenter()
         {
-#if DEBUG
-            if(MainPage.NoLoginMode)
-            {
-                return;
-            }
-#endif
             if (MainPage.CurPageIndex == 3)
             {
                 return;

--
Gitblit v1.8.0