From 4ce5177289b1d34e467de9d8790836559cc5a09e Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 18 十一月 2019 18:06:28 +0800
Subject: [PATCH] 合并了全部的代码

---
 ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs b/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs
index 59a8102..2a93400 100755
--- a/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs
@@ -298,11 +298,8 @@
                     {
                         return;
                     }
-                    this.RemoveFromParent();
-                    Application.MainPage?.RemoveViewByTag("Login");
 
-                    UserPage.Instance.Fresh();
-
+                    HomePage.Instance.ShowLoginLoadView();
                     new System.Threading.Thread(async () =>
                     {
                         //鍚姩ZigBee
@@ -331,10 +328,11 @@
                         //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
                         await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
 
-                        Shared.Common.Room.CanInitAllRoom = true;
                         Shared.Common.Room.InitAllRoom();
                         Application.RunOnMainThread(() =>
                         {
+                            this.RemoveFromParent();
+                            CommonPage.Instance.RemoveViewByTag("Login");
                             UserPage.Instance.Fresh();
                             CommonPage.Loading.Hide();
                         });

--
Gitblit v1.8.0