From 145b157ba183ebf877c93ed2dbb01ec737c993d3 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 08 十二月 2020 18:59:33 +0800 Subject: [PATCH] Merge branch 'WJC' --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs index 2fd3993..9085553 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomEditFunctionPageBLL.cs @@ -55,11 +55,11 @@ btn.IsSelected = !btn.IsSelected; if (btn.IsSelected) { - function.roomIds.Add(room.sid); + function.roomIds.Add(room.uid); } else { - function.roomIds.Remove(room.sid); + function.roomIds.Remove(room.uid); } if (changeList.Contains(function)) { @@ -73,11 +73,11 @@ btn.IsSelected = !btn.IsSelected; if (btn.IsSelected) { - function.roomIds.Add(room.sid); + function.roomIds.Add(room.uid); } else { - function.roomIds.Remove(room.sid); + function.roomIds.Remove(room.uid); } if (changeList.Contains(function)) { @@ -133,7 +133,7 @@ btnConfrim.MouseUpEventHandler = (sender, e) => { foreach(var f in changeList) { - f.SaveFunctionData(); + f.SaveFunctionData(true); } room.SaveRoomData(); room.GetRoomFunctions(true); -- Gitblit v1.8.0