From 273bd8b4fb918a4303207215b2b8369fbc275000 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 08 十二月 2020 18:58:44 +0800
Subject: [PATCH] Merge branch 'CJL-NEW'

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
index 9299c2d..5d72c0e 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPageBLL.cs
@@ -187,6 +187,8 @@
             DB_ResidenceData.residenceData.CurReginID = homeTemp.RegionID;
             DB_ResidenceData.residenceData.SaveResidenceData();
             var waitPage = new Loading();
+            bodyView.AddChidren(waitPage);
+            waitPage.Start(Language.StringByID(StringId.PleaseWait));
             new System.Threading.Thread(() =>
             {
                 try
@@ -198,7 +200,7 @@
                     foreach (var fileName in backuplist)
                     {
                         System.IO.FileInfo fileInfo = new System.IO.FileInfo(FileUtils.RootPath + fileName);
-                        if (fileName == "headImage.png")
+                        if (fileName.Contains(ImageUtlis.HEADIMAGE) || fileName == OnAppConfig.ConfigFile)
                         {
                             continue;
                         }
@@ -217,7 +219,7 @@
                     //鍒犻櫎鏈湴鏂囦欢
                     foreach (var fileName in backuplist)
                     {
-                        if (fileName == "headImage.png")
+                        if (fileName.Contains(ImageUtlis.HEADIMAGE))
                         {
                             continue;
                         }
@@ -257,6 +259,7 @@
                     {
                         waitPage.Hide();
                         waitPage.RemoveFromParent();
+                        MainPage.InitializationData();
                     });
                 }
             })

--
Gitblit v1.8.0