From 16deafb8aca7709877907ba938ea31407f6d2834 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 09 十二月 2020 15:39:34 +0800 Subject: [PATCH] 20201209 --- HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomsManagementPageBLL.cs | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomsManagementPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomsManagementPageBLL.cs index 5768fcd..1ffbe7b 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomsManagementPageBLL.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/RoomListManage/RoomsManagementPageBLL.cs @@ -26,14 +26,10 @@ { skipAddRoomAction = (type, floor) => { - Room newRoom = new Room() { - uid = Guid.NewGuid().ToString(), - }; + Room newRoom = new Room(); editBackAction = () => { LoadRoomRow(newRoom); }; - - var skipPage = new RoomEditPage(newRoom, StringId.AddRoom, editBackAction, null); MainPage.BasePageView.AddChidren(skipPage); @@ -49,7 +45,7 @@ { editBackAction = () => { - if (string.IsNullOrEmpty(r.uid)) + if (string.IsNullOrEmpty(r.roomId)) { for (int i = 0; i < roomsListView.ChildrenCount; ) { -- Gitblit v1.8.0