From 9bd930de5cb72d9e1ad0788961a469231b06338f Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 21 五月 2021 14:44:10 +0800
Subject: [PATCH] 2021-5-21-1

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
index e6c1598..6454ead 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs
@@ -61,12 +61,7 @@
 
             };
             middFLayout.AddChidren(addDevice);
-            if (Pir.currPir.FunctioList.Count < 10)
-            {
-                //10涓仴鎺у櫒灏变細闅愯棌娣诲姞鍥炬爣
-                // middFLayout.AddChidren(addDevice);
-                addDevice.Visible = true;
-            }
+         
             #endregion
 
             #region 鐣岄潰鐐瑰嚮浜嬩欢
@@ -155,6 +150,12 @@
         /// <param name="vv">涓婁笅婊戞帶浠�</param>
         private void UIView(VerticalRefreshLayout vv)
         {
+            if (Pir.currPir.FunctioList.Count < 10)
+            {
+                //10涓仴鎺у櫒灏变細闅愯棌娣诲姞鍥炬爣
+                // middFLayout.AddChidren(addDevice);
+                addDevice.Visible = true;
+            }
             vv.RemoveAll();
             #region 绾㈠瀹濆浘鏍� 鐗堟湰鍙� 鍚嶇О 鐘舵��
             FrameLayout fLayout = new FrameLayout

--
Gitblit v1.8.0