From acb2b278663952ce555b06a2e821f359225f15e0 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 10 七月 2020 09:41:15 +0800
Subject: [PATCH] 备份

---
 ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs b/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs
index 2166a86..e0fe24b 100755
--- a/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs
+++ b/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs
@@ -37,10 +37,6 @@
                 //浣跨敤涓婁竴娆$櫥闄嗙殑璐﹀彿
                 account = Common.Config.Instance.Account;
             }
-            if (Config.Instance.IsLogin == true)
-            {
-                return;
-            }
             CommonPage.Instance.IsDrawerLockMode = true;
             this.Tag = "Login";
 
@@ -846,7 +842,7 @@
                             HomePage.Instance.ShowLoginLoadView();
                         });
                         var resultRegID = await Shared.Common.CommonPage.Instance.PushRegID();
-                        var homes = await House.GetHomeLists();
+                        var homes = await HdlResidenceLogic.Current.GetHomeListsFromDb();
                         //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
                         await UserCenter.UserCenterLogic.InitUserCenterMenmoryAndThread();
                         //鍚姩ZigBee
@@ -1109,7 +1105,7 @@
                 Config.Instance.Save();
 
                 var resultRegID = await CommonPage.Instance.PushRegID();
-                var homes = await House.GetHomeLists();
+                var homes = await HdlResidenceLogic.Current.GetHomeListsFromDb();
                 //鍒锋柊涓汉涓績鐨勫唴瀛樺強绾跨▼
                 await UserCenterLogic.InitUserCenterMenmoryAndThread();
                 //鍚姩ZigBee

--
Gitblit v1.8.0