From da3634e011bbda29cf4e1c168997b780fe795b20 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 13 五月 2020 09:05:23 +0800
Subject: [PATCH] 优化新风模块和新风面板的测试功能,请合并代码

---
 ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs b/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs
index 859f605..b726d07 100755
--- a/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs
+++ b/ZigbeeApp/Shared/Phone/Login/AccountLoginForm.cs
@@ -207,7 +207,7 @@
                     {
                         this.RemoveFromParent();
                         CommonPage.Instance.RemoveViewByTag("Login");
-                        UserPage.Instance.Fresh();
+                        UserPage.Instance.ReFreshControl();
                     });
                 });
             };
@@ -851,7 +851,7 @@
                         {
                             this.RemoveFromParent();
                             CommonPage.Instance.RemoveViewByTag("Login");
-                            UserPage.Instance.Fresh();
+                            UserPage.Instance.ReFreshControl();
                         });
                     }
                     else
@@ -907,7 +907,7 @@
                 var responseDataObj = Newtonsoft.Json.JsonConvert.DeserializeObject<Shared.Common.ResponseEntity.UserLoginRes>(revertObj.ResponseData.ToString());
                 var revertData = responseDataObj;
                 //鏍囪涓婁竴娆℃槸涓嶆槸鍚屼竴涓处鍙风櫥闄�
-                UserCenter.UserCenterResourse.ResidenceOption.TheSameLoginAccount = Config.Instance.Guid == revertData.Guid;
+                Config.Instance.TheSameLoginAccount = Config.Instance.Guid == revertData.Guid;
                 Config.Instance.Account = revertData.Account;
                 Config.Instance.MD5PWD = revertData.MD5PWD;
                 Config.Instance.Guid = revertData.Guid;
@@ -1094,7 +1094,7 @@
                 var revertData = responseDataObj;
                 Config.ReFresh();
                 //鏍囪涓婁竴娆℃槸涓嶆槸鍚屼竴涓处鍙风櫥闄�
-                UserCenterResourse.ResidenceOption.TheSameLoginAccount = Config.Instance.Guid == revertData.Guid;
+                Config.Instance.TheSameLoginAccount = Config.Instance.Guid == revertData.Guid;
                 Config.Instance.Account = revertData.Account;
                 Config.Instance.Password = i_psw;
                 Config.Instance.MD5PWD = revertData.MD5PWD;
@@ -1115,7 +1115,7 @@
                     CommonPage.Loading.Hide();
                     this.RemoveFromParent();
                     CommonPage.Instance.RemoveViewByTag("Login");
-                    UserPage.Instance.Fresh();
+                    UserPage.Instance.ReFreshControl();
                 });
                 return;
             }

--
Gitblit v1.8.0