From efad979b6fae76fb37a4de7e94e6bac0a85cb72c Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 30 十一月 2021 13:14:28 +0800
Subject: [PATCH] 2021-11-30 1.修复乐橙Android,没调用拒接接口问题。

---
 HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs
index 1b78a1a..862fb16 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs
@@ -139,7 +139,10 @@
                 while (this.Parent != null)
                 {
                     System.Threading.Thread.Sleep(4000);
-
+                    if (this.Parent == null)
+                    {
+                        break;
+                    }
                     //璁块棶浜戠鑾峰彇鍒楄〃
                     var resultObj = DAL.Server.HttpUtil.RequestHttpsPost(DAL.Server.NewAPI.API_POST_Gethomepager, requestJson);
                     if (resultObj.Code == DAL.Server.StateCode.SUCCESS)
@@ -155,6 +158,11 @@
                         pm.GetHomePager();
                         Application.RunOnMainThread(() =>
                         {
+                            if (this.Parent == null)
+                            {
+                                return ;
+                            }
+
                             //璺宠浆椤甸潰----
                             MainPage.GoUserPage(true, false, () =>
                             {

--
Gitblit v1.8.0