From a4f57bf9dda3d52e04f537a2ca24db95761eb888 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 11 十二月 2020 11:34:14 +0800
Subject: [PATCH] Revert "Merge branch 'CJL-NEW' into NewFilePath"
---
HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs | 4 ++--
HDL-ON_iOS/AppDelegate.cs | 6 ------
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs
index 4ddbb7d..c1567e0 100644
--- a/HDL-ON_iOS/AppDelegate.cs
+++ b/HDL-ON_iOS/AppDelegate.cs
@@ -211,14 +211,8 @@
{
//Shared.Application.FontSize = 12;
-
- //鍙栨秷EditText榛樿瀵嗙爜杈撳叆鏂瑰紡
Shared.Application.IsEditTextContentTypePassword = false;
- //榛樿浣跨敤鑻规柟瀛椾綋
Shared.Application.IsUsePingFang = true;
- ////榛樿绂佹闊充箰鏈嶅姟
- //Shared.Application.IsMusicEnable = false;
-
Window = new UIWindow(UIScreen.MainScreen.Bounds);
rootViewController = new UINavigationController(new ViewController()) { NavigationBarHidden = true };
Window.RootViewController = rootViewController;
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs
index 6437949..ffbbe89 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs
@@ -272,14 +272,14 @@
{
Utlis.WriteLine("涓婁紶鎴愬姛锛�" + imageUrl);
//1.2濡傛灉鏄嚜瀹氫箟鍥剧墖鍒犻櫎涔嬪墠鐨�
- if (!string.IsNullOrEmpty(imageView.ImagePath) && !imageView.ImagePath.Contains("LoginIcon/2.png"))
+ if (!imageView.ImagePath.Contains("LoginIcon/2.png"))
{
Utlis.WriteLine("鍒犻櫎: " + imageView.ImagePath);
System.IO.File.Delete(imageView.ImagePath);
}
//閲嶅懡鍚嶄繚瀛�
FileUtils.WriteFileByBytes(imageUrl, imageBytes);
- imageView.ImagePath = imageUrl;
+ imageView.ImagePath = null;
imageView.ImageBytes = imageBytes;
//涓婁紶鎴愬姛
Utlis.ShowTip(Language.StringByID(StringId.UploadSuccessfully));
--
Gitblit v1.8.0