From 43b0d5870d528f23ecd6aeceb6cfd4325188b46f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 01 七月 2021 15:50:43 +0800
Subject: [PATCH] Revert "1"

---
 HDL_ON/UI/UI2/UserPage.cs |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs
index 4397173..2da462c 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();
 
@@ -299,7 +302,7 @@
         /// <summary>
         /// 鍒囨崲鍒版敹钘忕晫闈�
         /// </summary>
-        void ChooseCollection()
+        public void ChooseCollection()
         {
             if (MainPage.CurPageIndex == 0)
             {
@@ -563,14 +566,8 @@
         /// <summary>
         /// 鍒囨崲鍒颁釜浜轰腑蹇冪晫闈�
         /// </summary>
-        void ChoosePersonalCenter()
+        public void ChoosePersonalCenter()
         {
-#if DEBUG
-            if(MainPage.NoLoginMode)
-            {
-                return;
-            }
-#endif
             if (MainPage.CurPageIndex == 3)
             {
                 return;

--
Gitblit v1.8.0