From 064501c0cbf8643cfb2bdb2c295055189cf3287f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 21 十二月 2020 19:42:53 +0800
Subject: [PATCH] Merge branch 'CJL' into NewFilePath

---
 HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
old mode 100755
new mode 100644
index 4b4d2fe..dc3836b
--- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditPageBLL.cs
@@ -253,8 +253,10 @@
                 Action<string> action = (obj) =>
                 {
                     room.backgroundImage = obj;
+                    btnRoomBg.ImageBytes = null;//瑙e喅鏈塈mageBytes涓嶅姞杞絀magePath
                     btnRoomBg.ImagePath = room.backgroundImage;
                     room.SaveRoomData();
+                    modifyImageAction?.Invoke();
                 };
 
                 var galleryPage = new RoomGalleryPage(room.backgroundImage, action);
@@ -282,6 +284,7 @@
                 //2020-12-03 闇�瑕佽鏈�鏂扮殑鍥剧墖璺緞鍚屾鍒颁簯绔�
                 room.backgroundImage = imageUrl;
                 room.SaveRoomData();
+                modifyImageAction?.Invoke();
             };
             //涓婁紶鍥剧墖鍒颁簯绔�
             UploadImage(selectImagePath, btnRoomBg, room, uploadSuccessAction);

--
Gitblit v1.8.0