From 7d005a7618e3d7a80d8ede3baf6ecc4bf8019cd5 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 01 九月 2020 15:22:09 +0800
Subject: [PATCH] 2020-09-01

---
 HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPageBLL.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPageBLL.cs b/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPageBLL.cs
index 57d8fac..d1a08c8 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPageBLL.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomsManagementPageBLL.cs
@@ -26,8 +26,10 @@
         {
             skipAddRoomAction = (type, floor) =>
             {
-                Room newRoom = new Room();
-                editBackAction = () => {
+                Room newRoom = new Room() {
+                    sid = Guid.NewGuid().ToString(),
+                };
+                editBackAction = () => {            
                     LoadRoomRow(newRoom);
                 };
 
@@ -61,7 +63,7 @@
                 }
                 else
                 {
-                    btnRoomName.Text = r.floor + " " + r.name;
+                    btnRoomName.Text = r.floorName + r.name;
                     btnBg.UnSelectedImagePath = r.backgroundImage;
                 }
             };

--
Gitblit v1.8.0