From dc6493db59dcb0893eac50b72122f94c24056b3f Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 12 十月 2020 14:35:39 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs index 8bbe274..8489132 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs @@ -144,11 +144,15 @@ //鍙崇澶� this.AddRightArrow(); - this.ButtonClickEvent += (sender, e) => + //濡傛灉褰撳墠鏄睍绀烘ā鏉�,鍒欓渶瑕佸鐞� + if (Common.Config.Instance.Home.IsShowTemplate == false) { - //鍖哄煙閫夋嫨 - this.ShowSelectRoom(btnTextView, i_caption); - }; + this.ButtonClickEvent += (sender, e) => + { + //鍖哄煙閫夋嫨 + this.ShowSelectRoom(btnTextView, i_caption); + }; + } } #endregion @@ -169,6 +173,8 @@ txtView.Text = selectName; //璋冪敤鍥炶皟鍑芥暟 this.SelectRoomEvent?.Invoke(RoomKey); + //涓婁紶绌洪棿鍖哄煙淇℃伅 + HdlRoomLogic.Current.SetRoomInfoToGateway(); }); if (result == false) { -- Gitblit v1.8.0