From bd2c6c39668f2495d14440ae2d6bb7a7856e9d2f Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 12 三月 2021 17:47:57 +0800
Subject: [PATCH] 2021-3-12-3

---
 HDL_ON/UI/UI1-Login/RegisterPageBLL.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
index e398c75..9dbc24a 100644
--- a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
@@ -583,7 +583,7 @@
                         //callbackAction?.Invoke(account);
                         Application.RunOnMainThread(() =>
                         {
-                            this.Close();
+                            Close();
                             LoadEvent_AutoLogin(account, password);
                         });
                     }
@@ -610,6 +610,7 @@
                     Application.RunOnMainThread(() =>
                     {
                         waitPage.Hide();
+                        waitPage.RemoveFromParent();
                     });
                 }
             });
@@ -621,7 +622,7 @@
         void LoadEvent_Server()
         {
             //鍒ゆ柇涔嬪墠鏄惁閫夋嫨杩�
-            if (UserInfo.Current.GlobalRegion != null && !string.IsNullOrEmpty(UserInfo.Current.GlobalRegion.regionUrl))
+            if (OnAppConfig.Instance.GlobalRegion != null && !string.IsNullOrEmpty(OnAppConfig.Instance.GlobalRegion.regionUrl))
             {
 
                 SetServerText();
@@ -683,7 +684,7 @@
             isSelectServer = true;
             ShowServerBottomLineState(false);
             btnServerText.TextColor = CSS_Color.FirstLevelTitleColor;
-            btnServerText.Text = UserInfo.Current.GlobalRegion.regionName;
+            btnServerText.Text = OnAppConfig.Instance.GlobalRegion.regionName;
         }
 
 

--
Gitblit v1.8.0