From d72ca686a3e262693f8a6e45e747e8e8da43335b Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 06 七月 2021 09:39:03 +0800
Subject: [PATCH] 2021-07-06 1.更新

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

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs
index 3a7283d..e666d72 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/MyQRCodePage.cs
@@ -17,7 +17,11 @@
             bodyView = this;
         }
 
-        public void LoadPage()
+        /// <summary>
+        /// 
+        /// </summary>
+        /// <param name="isStartCheckResidenceThread">鏄惁寮�鍚綇瀹呯洃鍚嚎绋嬶紝娌℃湁浣忓畢鐨勬椂鍊欏埆浜烘壂鐮佹坊鍔犱綘涓烘垚鍛樼殑鏃跺�欒皟鐢�</param>
+        public void LoadPage(bool isStartCheckResidenceThread = false)
         {
             bodyView.BackgroundColor = CSS_Color.BackgroundColor;
             new TopViewDiv(bodyView, Language.StringByID(StringId.MyQRcode)).LoadTopView();
@@ -114,8 +118,12 @@
             //};
             //backView.AddChidren(headImage2);
 
-            //寮�鍚娴嬩綇瀹呮槸鍚﹀凡缁忔坊鍔犱簡鐨勭嚎绋�
-            this.StartCheckResidenceThread();
+
+            if (isStartCheckResidenceThread)
+            {
+                //寮�鍚娴嬩綇瀹呮槸鍚﹀凡缁忔坊鍔犱簡鐨勭嚎绋�
+                this.StartCheckResidenceThread();
+            }
         }
 
         /// <summary>
@@ -148,10 +156,12 @@
                         Application.RunOnMainThread(() =>
                         {
                             //璺宠浆椤甸潰----
-                            MainPage.GoUserPage();
-                            //鏄剧ず娆㈣繋鍥炲鐨勫脊绐楃晫闈�
-                            var form = new WellcomToHomeForm();
-                            form.ShowForm();
+                            MainPage.GoUserPage(true, false, () =>
+                            {
+                                //鏄剧ず娆㈣繋鍥炲鐨勫脊绐楃晫闈�
+                                var form = new WellcomToHomeForm();
+                                form.ShowForm();
+                            });
                         });
                         break;
                     }

--
Gitblit v1.8.0