From 320d7cc8feb394d0ce3db2ec1d01593b554d990f Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 23 十二月 2020 10:57:13 +0800 Subject: [PATCH] 2020-12-23 1.更新 --- 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 index 4b4d2fe..dc3836b 100644 --- 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