From 43b0d5870d528f23ecd6aeceb6cfd4325188b46f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 七月 2021 15:50:43 +0800 Subject: [PATCH] Revert "1" --- HDL_ON/UI/UI1-Login/RegisterPageBLL.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs index e398c75..4e2b8ce 100644 --- a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs +++ b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs @@ -299,7 +299,8 @@ { CloseTime = 1, Direction = AMPopTipDirection.None, - Text = Language.StringByID(StringId.IncorrectRepeatPassword) + Text = Language.StringByID(StringId.IncorrectRepeatPassword), + MaxWidth = Application.GetRealWidth(300), }.Show(bodyView); } else @@ -583,7 +584,7 @@ //callbackAction?.Invoke(account); Application.RunOnMainThread(() => { - this.Close(); + Close(); LoadEvent_AutoLogin(account, password); }); } @@ -610,6 +611,7 @@ Application.RunOnMainThread(() => { waitPage.Hide(); + waitPage.RemoveFromParent(); }); } }); @@ -621,7 +623,7 @@ void LoadEvent_Server() { //鍒ゆ柇涔嬪墠鏄惁閫夋嫨杩� - if (UserInfo.Current.GlobalRegion != null && !string.IsNullOrEmpty(UserInfo.Current.GlobalRegion.regionUrl)) + if (OnAppConfig.Instance.GlobalRegion != null && !string.IsNullOrEmpty(OnAppConfig.Instance.GlobalRegion.regionUrl)) { SetServerText(); @@ -683,7 +685,7 @@ isSelectServer = true; ShowServerBottomLineState(false); btnServerText.TextColor = CSS_Color.FirstLevelTitleColor; - btnServerText.Text = UserInfo.Current.GlobalRegion.regionName; + btnServerText.Text = OnAppConfig.Instance.GlobalRegion.regionName; } -- Gitblit v1.8.0