From 0d9f64668fd7350d6a21fd157e32009a96d98134 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期三, 16 十二月 2020 13:09:08 +0800
Subject: [PATCH] 新云端代码Ver1.2

---
 ZigbeeApp/Shared/Phone/Common/Controls/ClickButtonControls/BottomClickButton.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomClickButton.cs b/ZigbeeApp/Shared/Phone/Common/Controls/ClickButtonControls/BottomClickButton.cs
similarity index 85%
rename from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomClickButton.cs
rename to ZigbeeApp/Shared/Phone/Common/Controls/ClickButtonControls/BottomClickButton.cs
index 8f5e5db..1714dda 100644
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ClickButtonControls/BottomClickButton.cs
+++ b/ZigbeeApp/Shared/Phone/Common/Controls/ClickButtonControls/BottomClickButton.cs
@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Text;
 
-namespace Shared.Phone.UserCenter
+namespace Shared.Phone
 {
     /// <summary>
     /// 鍋氭垚涓�涓瓨鍦ㄤ簬BodyFrameLayout搴曢儴杩涜鍗曞嚮鐨勬寜閽湬
@@ -41,11 +41,11 @@
 
             base.ButtonClickEvent += (sender, e) =>
             {
-                if (this.CheckForm == true && UserCenterResourse.DicActionForm.ContainsKey(this.formName) == true)
+                if (this.CheckForm == true)
                 {
+                    var form = HdlFormLogic.Current.GetFormByName(this.formName);
                     //妫�娴嬬晫闈�
-                    bool result = UserCenterResourse.DicActionForm[this.formName].CheckForm();
-                    if (result == false)
+                    if (form != null && form.CheckForm() == false)
                     {
                         //妫�娴嬩笉閫氳繃
                         return;

--
Gitblit v1.8.0