From 098c053cb132a432f4e3c342d26a3d71621c10dd Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期一, 05 七月 2021 11:15:02 +0800 Subject: [PATCH] 性能优化:无状态功能开关点击反馈 --- HDL_ON/UI/UI2/UserPage.cs | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs index 44540a8..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) { @@ -565,12 +568,6 @@ /// </summary> public void ChoosePersonalCenter() { -#if DEBUG - if(MainPage.NoLoginMode) - { - return; - } -#endif if (MainPage.CurPageIndex == 3) { return; -- Gitblit v1.8.0