From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 18 九月 2020 13:58:19 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlAutoBackupLogic.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlAutoBackupLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlAutoBackupLogic.cs index 797741b..99c3486 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlAutoBackupLogic.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlAutoBackupLogic.cs @@ -38,7 +38,7 @@ //濡傛灉娌℃湁鑷姩澶囦唤鏁版嵁,鍒欐妸鏈湴鍏ㄩ儴涓滆タ涓婁紶 var pathTemp = DirNameResourse.AutoBackupDirectory; //澶嶅埗鏈湴鎵�鏈夋枃浠惰繃鍘� - List<string> listAllFile = Global.FileListByHomeId(); + List<string> listAllFile = HdlFileLogic.Current.GetRootPathListFile(); foreach (string fileName in listAllFile) { string oldFile = System.IO.Path.Combine(Config.Instance.FullPath, fileName); @@ -330,6 +330,8 @@ { //鍒犻櫎妫�娴嬫枃浠� System.IO.File.Delete(checkFile); + //鍏抽棴杩涘害鏉� + ProgressFormBar.Current.Close(); //鍚屾澶辫触 return -1; } @@ -346,6 +348,9 @@ //閲嶆柊鍒锋柊浣忓畢瀵硅薄 UserCenterLogic.RefreshHomeObject(); + //鍏抽棴杩涘害鏉� + ProgressFormBar.Current.Close(); + return 1; } -- Gitblit v1.8.0