From 65d30e65eb0ee4168871e891984ea565b144c7f4 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 16 七月 2021 10:35:10 +0800
Subject: [PATCH] 海林传感器主页显示

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

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
index c21a787..1ffbbce 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PersonalCenterPage.cs
@@ -239,7 +239,7 @@
             {
                 Button btnExit = new Button()
                 {
-                    Y = Application.GetRealHeight(258) + personalInfoView.Bottom,
+                    Y = Application.GetRealHeight(288) + personalInfoView.Bottom,
                     Gravity = Gravity.CenterHorizontal,
                     Height = Application.GetRealHeight(60),
                     Width = Application.GetRealWidth(330),
@@ -262,6 +262,8 @@
                 }
                 btnExit.MouseUpEventHandler = (sender, e) =>
                 {
+                    MainPage.NoLoginMode = false;
+                    UserInfo.Current.ClearUserInfo();
                     HDLCommon.Current.Logout();
                 };
                 bodyView.AddChidren(btnExit);

--
Gitblit v1.8.0