From 7e29d6e716ade9c9bc89ebd24cd6f35635c35767 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 06 六月 2023 11:20:10 +0800
Subject: [PATCH] 修复游客模式闪退问题

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index b70cf7f..60d72bc 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -167,6 +167,22 @@
 
         public void LoadView()
         {
+            //try
+            //{
+            //    if (MainPage.CurPageIndex == 3)
+            //    {
+            //        Application.RunOnMainThread(() =>
+            //        {
+            //            this.RemoveFromParent();
+            //            return;
+            //        });
+            //    }
+            //}
+            //catch (Exception ex)
+            //{
+            //    MainPage.Log($"鐣岄潰鍒囨崲寮傚父:{ex.Message}");
+            //}
+            MainPage.CurPageIndex = 3;
             #region 涓汉淇℃伅
             topbg = new FrameLayout()
             {

--
Gitblit v1.8.0