From 33656fa9abd15ed00a390024b439568d2713ca1a Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期日, 06 十二月 2020 17:44:36 +0800 Subject: [PATCH] 2020-12-06 1.修改挤下线判断标记。2.修改房间和场景加载云端图片路径 --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs index 59a8daf..c3c4ca3 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs @@ -309,6 +309,7 @@ { room.SaveRoomData(); + } }; //涓婁紶鍥剧墖鍒颁簯绔� @@ -355,7 +356,7 @@ { Utlis.WriteLine("涓婁紶鎴愬姛锛�" + imageUrl); //1.2濡傛灉鏄嚜瀹氫箟鍥剧墖鍒犻櫎涔嬪墠鐨� - if (!imageView.ImagePath.Contains("Classification/Room/Roombg")) + if (!string.IsNullOrEmpty(imageView.ImagePath) && !imageView.ImagePath.Contains("Classification/Room/Roombg")) { Utlis.WriteLine("鍒犻櫎: " + imageView.ImagePath); System.IO.File.Delete(imageView.ImagePath); -- Gitblit v1.8.0