From 7b9c970fd38835624f07185cd2ce4659dbb93200 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 27 八月 2024 15:22:16 +0800
Subject: [PATCH] 金茂代码备份
---
HDL_ON/UI/UI1-Login/LoginPageBLL.cs | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
index e1cded2..096ad5c 100644
--- a/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPageBLL.cs
@@ -637,6 +637,7 @@
{
//璺宠浆椤甸潰----
MainPage.GoUserPage(true);
+ this.RemoveFromParent();
return;
}
});
@@ -671,6 +672,7 @@
Common.ApiUtlis.Ins.DownloadDataComplete = false;
//璺宠浆椤甸潰----
MainPage.GoUserPage(true);
+ this.RemoveFromParent();
});
}
else
@@ -730,6 +732,11 @@
//璋冪敤楠岃瘉鐮佺櫥褰曟帴鍙�
loginResult = pm.LoginValidCode(account, password);
}
+ if(loginResult == null)
+ {
+
+ return false;
+ }
if (loginResult.Code == StateCode.SUCCESS)
{
var revertData = Newtonsoft.Json.JsonConvert.DeserializeObject<UserLoginRes>(loginResult.Data.ToString());
--
Gitblit v1.8.0