From b1b339264a5b4f419fcab381c342bfae560f4f2d Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 09 十二月 2020 15:40:09 +0800 Subject: [PATCH] 2020-12-09 1.修改退出登录方法。 --- 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