From 1e76fa5a69bc478b3eb5738546aeb51b8fd6f7c9 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期一, 18 十一月 2019 16:30:41 +0800 Subject: [PATCH] 2019.11.18 --- 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 100644 --- 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