HDL_ON/Common/HDLCommon.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
HDL_ON/Common/HDLCommon.cs
@@ -546,11 +546,19 @@ } //未登录不用处理 if (!UserInfo.Current.IsLogin) return; //if (!UserInfo.Current.IsLogin) return; try { Application.RunOnMainThread(() => { //账号在别处登陆,被踢下线 跳转到登录页面 new Alert(Language.StringByID(StringId.Tip), Language.StringByID(StringId.LoggedOnOtherDevices), Language.StringByID(StringId.Close)).Show(); }); } catch (Exception ex) { MainPage.Log("Error", $"挤下线提示窗口异常:{ex.StackTrace}"); } try { Logout();