From 1a4b95a7ebef71838bd3eda2c22056bbf0db65ec Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 10 一月 2020 16:39:54 +0800
Subject: [PATCH] 2019阶段备份

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

diff --git a/HDL_ON/UI/UI1-Login/BLL/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/BLL/LoginPageBLL.cs
index 285d2d9..076fa3f 100644
--- a/HDL_ON/UI/UI1-Login/BLL/LoginPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/BLL/LoginPageBLL.cs
@@ -346,9 +346,7 @@
                                 waitPage = null;
 
                                 //璺宠浆椤甸潰----
-                                var ss = new UserPage();
-                                MainPage.BaseView.AddChidren(ss);
-                                ss.LoadPage();
+                                MainPage.GoUserPage();
                             });
                         }
                     }
@@ -448,8 +446,9 @@
                         };
                         MainPage.LoginUser.HomeLists.Add(home);
                     }
-                    UserConfig.Instance.ChangeResidence(MainPage.LoginUser.HomeLists[0]);
+                    UserConfig.Instance.CurrentRegion = MainPage.LoginUser.HomeLists[0];
                     UserConfig.Instance.SaveUserConfig();
+                    MainPage.LoginUser.SaveUserInfo();
                 }
                 result = true;
             }

--
Gitblit v1.8.0