Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs
@@ -95,8 +95,13 @@
            }
            var accountList = accountListDB.account;
            //自动填写账号
            if (string.IsNullOrEmpty (account)) {
                if (accountList.Count > 0) {
                    etAccount.Text = accountList [accountList.Count - 1];
                }
            }
            var accountListView = new VerticalScrolViewLayout () {
                Width = Application.GetRealWidth (500),
                Height = Application.GetRealHeight (85 * 2),
@@ -136,8 +141,8 @@
                Y = etPasswrod.Y + Application.GetRealHeight (12),
                Width = Application.GetRealWidth (73),
                Height = Application.GetRealHeight (60),
                UnSelectedImagePath = "CrabtreeAdd/ShowPW.png",
                SelectedImagePath = "CrabtreeAdd/HidePW.png",
                UnSelectedImagePath = "CrabtreeAdd/HidePW.png",
                SelectedImagePath = "CrabtreeAdd/ShowPW.png",
                BorderColor = SkinStyle.Current.Transparent,
                BorderWidth = 2,
                Radius = 1
@@ -428,10 +433,16 @@
            var revertObj = MainPage.RequestHttps (API.Login, requestJson);
            if (revertObj.StateCode.ToUpper() == "SUCCESS") {
                if (!accountListDB.account.Contains (account)) {
                    accountListDB.account.Add (account);
                    accountListDB.SaveAccountListDB ();
                //if (!accountListDB.account.Contains (account)) {
                //    accountListDB.account.Add (account);
                //    accountListDB.SaveAccountListDB ();
                //}
                if (accountListDB.account.Contains (account)) {
                    accountListDB.account.Remove (account);
                }
                accountListDB.account.Add (account);
                accountListDB.SaveAccountListDB ();
                var responseDataObj = Newtonsoft.Json.JsonConvert.DeserializeObject<UserLoginRes> (revertObj.ResponseData.ToString ());
                var revertData = responseDataObj;