From dc0309e64f02227d8e1468b7326c07955f804612 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 22 六月 2022 11:22:18 +0800 Subject: [PATCH] 修改引用路径 --- ZigbeeApp/Shared/Phone/UserCenter/Password/EditorSecondaryPasswordForm.cs | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Password/EditorSecondaryPasswordForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Password/EditorSecondaryPasswordForm.cs index 1a8fa11..972fb7e 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Password/EditorSecondaryPasswordForm.cs +++ b/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(); - }); - } + } + }); }); } -- Gitblit v1.8.0