From 97e259d966cb5cb5d73c105d5dbaadcc1f920614 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 18 十月 2019 13:48:43 +0800 Subject: [PATCH] 合并了全部的代码 --- ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlManualBackUpForm.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlManualBackUpForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlManualBackUpForm.cs index 47fbae8..2c0eff2 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlManualBackUpForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlManualBackUpForm.cs @@ -411,7 +411,7 @@ { List<string> listAllFile = Global.FileListByHomeId(); - string strroot = UserCenterResourse.LocalRootPath; + string strroot = Common.Config.Instance.FullPath; string autoPath = System.IO.Path.Combine(strroot, DirNameResourse.LocalMemoryDirectory, DirNameResourse.AutoBackupDirectory); foreach (string file in listAllFile) { @@ -440,6 +440,18 @@ this.ShowMassage(ShowMsgType.Error, msg); return false; } + if (backName.Contains("##") == true) + { + //瀛樺湪闈炴硶瀛楃銆�##銆� + string msg = Language.StringByID(R.MyInternationalizationString.uErrorFieldIsEsixt); + if (msg.Contains("{0}") == true) + { + msg = string.Format(msg, "##"); + } + this.ShowMassage(ShowMsgType.Error, msg); + return false; + } + return true; } #endregion -- Gitblit v1.8.0