From 64dbbfe1d6488635e160189a704afccffc7d34d0 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 07 十二月 2020 11:33:06 +0800
Subject: [PATCH] Merge branch 'WJC'

---
 HDL_ON/UI/UI1-Login/LoginPageBLL.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
index e3ac5fe..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));
                         }
@@ -671,7 +673,8 @@
                 //鑾峰彇鐢ㄦ埛淇℃伅
                 new Thread(() =>
                 {
-                    pm.GetUserInfo();
+                    pm.GetUserHeadImage(revertData.userId);
+                    pm.GetUserInfo(false);
                 })
                 { IsBackground = true }.Start();
             }

--
Gitblit v1.8.0