From 8b0c761887fc1bc3ec777e4aec87133233550836 Mon Sep 17 00:00:00 2001
From: 温居城 <wenjucheng@wenjuchengdeMacBook-Pro.local>
Date: 星期二, 23 十一月 2021 11:15:56 +0800
Subject: [PATCH] 2021-11-23-01

---
 ZigbeeApp/Shared/Phone/Device/Logic/LogicView/CompleteView.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/CompleteView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/CompleteView.cs
index 100b8cb..34d8e4c 100755
--- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/CompleteView.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/CompleteView.cs
@@ -62,10 +62,13 @@
             fraView.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight);
             fraView.Height = Application.GetRealHeight(1+140 + 70 + 160 * n);//1浣滅敤灏辨槸瑕嗙洊搴曡壊
             fraView.Y = Application.GetRealHeight(1920 - 140 - 70 - 160 * n);
-            fraView.AddChidren(titleRow);
-            fraView.AddChidren(Btncancel);
-            fraView.AddChidren(Btntitle);
-            fraView.AddChidren(Btncomplete);
+            if (titleRow.Parent == null)
+            {
+                fraView.AddChidren(titleRow);
+                fraView.AddChidren(Btncancel);
+                fraView.AddChidren(Btntitle);
+                fraView.AddChidren(Btncomplete);
+            }
             return fraView;
         }
 

--
Gitblit v1.8.0