From bce17e5a91e596d29209056e2e4ac3a6f88c2219 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 09 七月 2021 10:03:53 +0800 Subject: [PATCH] 海林传感器 --- 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