From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 18 九月 2020 13:58:19 +0800
Subject: [PATCH] 新版本

---
 ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs b/ZigbeeApp/Shared/Phone/Login/AccountRegisterSuccess.cs
index 38323c9..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(() =>
@@ -112,10 +111,11 @@
                             //缁戝畾绗笁鏂�
                             BindAuthUser(Config.Instance.Guid, OpenID);
                         }
-                        var homes = HdlResidenceLogic.Current.GetHomeListsFromDb();
+                        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