HDL Home App 第二版本 旧平台金堂用 正在使用
chenqiyang
2022-06-22 dc0309e64f02227d8e1468b7326c07955f804612
ZigbeeApp/Shared/Phone/UserCenter/Password/EditorSecondaryPasswordForm.cs
@@ -213,7 +213,7 @@
        /// <param name="psw">密码</param>
        private void SaveSecondaryPassword(PswNumberInputControl contr, string psw)
        {
            HdlThreadLogic.Current.RunThread(async () =>
            HdlThreadLogic.Current.RunThread(() =>
            {
                //打开进度条
                this.ShowProgressBar();
@@ -224,25 +224,24 @@
                    GesturePwd = UserCenterResourse.AccountOption.GestureAuthentication,
                    StringPwd = psw
                };
                var result = await UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/UpdatEexpandPwd", false, pra);
                var result = UserCenterLogic.GetResultStatuByRequestHttps("ZigbeeUsers/UpdatEexpandPwd", false, pra);
                //关闭进度条
                this.CloseProgressBar();
                if (result == false)
                HdlThreadLogic.Current.RunMain(() =>
                {
                    contr.SetErrorMsg(string.Empty);
                }
                else
                {
                    UserCenterResourse.AccountOption.PswAuthentication = psw;
                    UserCenterResourse.AccountOption.Save();
                    HdlThreadLogic.Current.RunMain(() =>
                    if (result == false)
                    {
                        contr.SetErrorMsg(string.Empty);
                    }
                    else
                    {
                        UserCenterResourse.AccountOption.PswAuthentication = psw;
                        UserCenterResourse.AccountOption.Save();
                        //界面关闭
                        this.CloseForm();
                    });
                }
                    }
                });
            });
        }