From 31e484e5d3e42e825e43ef9d1707c1adc02a4e1c Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 18 十二月 2020 19:57:34 +0800 Subject: [PATCH] 完成 dali 的 UI --- HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs old mode 100644 new mode 100755 index e9a23bf..331e653 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs @@ -163,7 +163,8 @@ { var regionId = (string)btnHomeName.Tag; dialog.Close(); - LoadEvent_ChangeCurHome(UserInfo.Current.regionList.Find((obj) => obj.RegionID == regionId)); + //LoadEvent_ChangeCurHome(UserInfo.Current.regionList.Find((obj) => obj.RegionID == regionId)); + LoadEvent_ChangeCurHome(home); LoadContentView(); }; } @@ -183,7 +184,7 @@ { return; } - DB_ResidenceData.Instance.SetCurrentRegion(UserInfo.Current.regionList.IndexOf(homeTemp)); + DB_ResidenceData.Instance.CurrentRegion = homeTemp; DB_ResidenceData.Instance.SaveResidenceData(); var waitPage = new Loading(); bodyView.AddChidren(waitPage); -- Gitblit v1.8.0