From a3dfbcd5218270f9a75e6e32807b08215270b657 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期三, 11 九月 2024 11:48:23 +0800
Subject: [PATCH] Merge branch 'feature/v2.5_极光推送' into feature/V2.6.0_google

---
 HDL_ON/UI/UI1-Login/RegisterPage.cs |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/RegisterPage.cs b/HDL_ON/UI/UI1-Login/RegisterPage.cs
index 132ee76..8bcf14a 100644
--- a/HDL_ON/UI/UI1-Login/RegisterPage.cs
+++ b/HDL_ON/UI/UI1-Login/RegisterPage.cs
@@ -239,7 +239,16 @@
             };
 
             pm = new HttpServerRequest();
-            OnAppConfig.Instance.GlobalRegion.regionUrl = "";
+            try
+            {
+                if (OnAppConfig.Instance.GlobalRegion != null)
+                {
+                    OnAppConfig.Instance.GlobalRegion.regionUrl = "";
+                }
+            }catch(Exception ex)
+            {
+                MainPage.Log("Error", "杩涘叆娉ㄥ唽鐣岄潰AppConfig寮傚父锛�" + ex.Message);
+            }
         }
 
         //public RegisterPage(Action action)

--
Gitblit v1.8.0