From 37f4744e89e08c5bc79559d4e109e753b3b72ff1 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 17 十二月 2020 15:28:36 +0800
Subject: [PATCH] 2020-12-17-1

---
 HDL_ON/Common/HDLCommon.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 84158f7..1a52ef4 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -282,6 +282,10 @@
             //鏈櫥褰曚笉鐢ㄥ鐞�
             if (!UserInfo.Current.IsLogin) return;
 
+#if DEBUG
+            return;
+#endif
+
             Logout();
         }
 
@@ -304,7 +308,7 @@
                     //3.璺宠浆鐧诲綍椤甸潰
                     UserInfo.Current.LastTime = DateTime.MinValue;
                     UserInfo.Current.SaveUserInfo();
-                    DB_ResidenceData.residenceData.EixtAccount();
+                    DB_ResidenceData.Instance.EixtAccount();
                 }
                 catch (Exception ex)
                 {

--
Gitblit v1.8.0