From 26d1cdf2f5246c1ad7890e6740444c4a6a80e6fb Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期二, 11 八月 2020 13:21:10 +0800
Subject: [PATCH] 合并了新代码

---
 ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs b/ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs
index 44324a3..4186077 100755
--- a/ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs
+++ b/ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs
@@ -98,7 +98,6 @@
             HdlThreadLogic.Current.RunMain(() =>
             {
                 //鎵撳紑鍚姩椤�
-                HomePage.Instance.ShowLoginLoadView();
                 CommonPage.Loading.Start(Language.StringByID(R.MyInternationalizationString.Logining));
                 
                 HdlThreadLogic.Current.RunThread(() =>
@@ -115,7 +114,8 @@
                         var homes = HdlResidenceLogic.Current.GetHomeListsFromDb(false);
 
                         //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
-                        UserCenterLogic.InitUserCenterMenmoryAndThread();
+                        bool result = UserCenterLogic.InitUserCenterMenmoryAndThread();
+
                         //鍚姩ZigBee
                         ZigBee.Common.Application.Init();
 
@@ -125,7 +125,11 @@
                             this.RemoveFromParent();
                             CommonPage.Instance.RemoveViewByTag("Register");
                             CommonPage.Instance.RemoveViewByTag("Login");
-                            UserPage.Instance.ReFreshControl();
+                            if (result == true)
+                            {
+                                //false:寮�鍚簡璋冭瘯鍔熻兘
+                                UserPage.Instance.ReFreshControl();
+                            }
                         });
                     }
                     else

--
Gitblit v1.8.0