From 691dbe24f5724f153e07947c7b75bdfea5f0b6d5 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 24 九月 2024 16:15:15 +0800
Subject: [PATCH] 离线控制模式

---
 HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index d84205d..0a17a85 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -286,7 +286,6 @@
                 btnExit.MouseUpEventHandler = (sender, e) =>
                 {
                     MainPage.NoLoginMode = false;
-                    UserInfo.Current.ClearUserInfo();
                     HDLCommon.Current.Logout();
                 };
                 bodyView.AddChidren(btnExit);
@@ -603,7 +602,8 @@
                     residenceAddFunctionView.AddChidren(btnResidenceAddFunctionText);
                     #endregion
 
-                    if (DB_ResidenceData.Instance.HomeGateway.isSupportGroupControl)
+                    bool needShow = false;
+                    if (DB_ResidenceData.Instance.HomeGateway.isSupportGroupControl || needShow)
                     {
                         residenceFunctionCount++;
                         #region ---缁勫悎璋冨厜

--
Gitblit v1.8.0