From 62d77d3bb8e7215d9da9ecf6f5aeda0b69f805f8 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 08 十二月 2020 18:57:15 +0800
Subject: [PATCH] 20201208

---
 HDL_ON/UI/UI1-Login/LoginPageBLL.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
index f020e0a..e7cb064 100644
--- a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
@@ -558,6 +558,7 @@
                             {
                                 //璺宠浆椤甸潰----
                                 MainPage.GoUserPage();
+                                MainPage.InitializationData();
                                 return;
                             }
                         });
@@ -584,20 +585,21 @@
                                 FileUtils.RestoreRegionFiles(regionRootPath);
                                 DB_ResidenceData.residenceData.EixtAccount();
                                 OnAppConfig.Instance.RefreshUserConfig();
-                                DB_ResidenceData.InitRoomFunction();
+                                SpatialInfo.CurrentSpatial.InitRoomFunction();
                             }
                             Application.RunOnMainThread(() =>
                             {
                                 //璺宠浆椤甸潰----
                                 MainPage.GoUserPage();
+                                MainPage.InitializationData();
                             });
                         }
                         else
                         {
                             //2020-11-13 寰呯‘璁�
                             //鑾峰彇浣忓畢澶辫触锛岄噸鏂版爣璁颁负鏈櫥褰曠姸鎬�
-                             UserInfo.Current.LastTime = DateTime.MinValue;
-                             UserInfo.Current.SaveUserInfo();
+                            UserInfo.Current.LastTime = DateTime.MinValue;
+                            UserInfo.Current.SaveUserInfo();
                             //鐧诲綍澶辫触锛岃鍏堟坊鍔犱綇瀹咃紒
                             Utlis.ShowAlertOnMainThread(Language.StringByID(StringId.FailedGetHomeList));
                         }

--
Gitblit v1.8.0