From 642fcdaeb496d9a8f3154e17fd76005be3fcf197 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期二, 03 十二月 2019 12:00:24 +0800 Subject: [PATCH] 2019.12.3 --- ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs b/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs old mode 100755 new mode 100644 index 78a13f4..8d99dea --- a/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs +++ b/ZigbeeApp/Shared/Phone/Device/Account/AccountLoginByCode.cs @@ -87,6 +87,7 @@ /// </summary> public AccountLoginByCode() { + CommonPage.Instance.IsDrawerLockMode = true; Tag = "Login"; BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor; t = new Timer(); @@ -306,13 +307,9 @@ var revertData = responseDataObj; Config.ReFresh(); Config.Instance.Account = revertData.Account; - Config.Instance.MqttKey = revertData.MqttKey; Config.Instance.Guid = revertData.Guid; Config.Instance.MD5PWD = revertData.MD5PWD; Config.Instance.LoginDateTime = DateTime.Now; - Config.Instance.ConnectZigbeeMqttBrokerPwd = revertData.ConnectZigbeeMqttBrokerPwd; - Config.Instance.ConnectZigbeeMqttClientId = revertData.ConnectZigbeeMqttClientId; - Config.Instance.ZigbeeMqttBrokerLoadSubDomain = revertData.ZigbeeMqttBrokerLoadSubDomain; if (Config.Instance.AccountList.Find((obj) => obj == revertData.Account) == null) { Config.Instance.AccountList.Add(revertData.Account); @@ -434,7 +431,7 @@ private void AddPhoneOrEmailFL(FrameLayout accountCodeFrameLayout, string phoneOrEmail) { accountCodeFrameLayout.RemoveAll(); - + account = string.Empty; if (phoneOrEmail == "Phone") { phoneRow = new PhoneRowForm(); @@ -468,6 +465,7 @@ { IsRightAccount = true; codeRow.SendCodeBtn.Enable = codeRow.SendCodeBtn.IsSelected = true; + account= (sender as EditText).Text.Trim(); } else { -- Gitblit v1.8.0