From 4f2dbd1f6a1ec2d9c3c39b4a37b0b7c9ddece4aa Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 23 九月 2021 15:24:01 +0800 Subject: [PATCH] 主页刷新优化 --- HDL_ON/UI/UI2/2-Classification/RoomPageBLL.cs | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/RoomPageBLL.cs b/HDL_ON/UI/UI2/2-Classification/RoomPageBLL.cs index 8201a61..6ca0ac5 100644 --- a/HDL_ON/UI/UI2/2-Classification/RoomPageBLL.cs +++ b/HDL_ON/UI/UI2/2-Classification/RoomPageBLL.cs @@ -30,18 +30,17 @@ { Action editBackAction = () => { - room.SaveRoomData(); + room.UpdataRoomInfo(); ReLoadPage(); ReloadRoomName(); }; - Action delAction = () => { this.RemoveFromParent(); deleteAction?.Invoke(); }; - var skipPage = new RoomEditPage(room, StringId.EditRoomInfo, editBackAction, delAction); + var skipPage = new RoomEditPage(room, editBackAction, delAction, this.modifyImageAction); MainPage.BasePageView.AddChidren(skipPage); skipPage.LoadPage(); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; -- Gitblit v1.8.0