From 70e1f6c11d3b71c73c3ed39760b9461bb5a67a17 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 28 七月 2023 10:31:03 +0800
Subject: [PATCH] Update Control_TcpClient.cs

---
 HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/UnlockSettingFacePage.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/UnlockSettingFacePage.cs b/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/UnlockSettingFacePage.cs
index a9eaf42..40600a1 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/UnlockSettingFacePage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/VideoDoorLock/UnlockSettingFacePage.cs
@@ -124,7 +124,7 @@
                             Application.RunOnMainThread(() =>
                             {
                                 //鏇存柊鐣岄潰
-                                btnFaceUnlockSwitchIcon.IsSelected = changeState;
+                                faceUnlockSetup.enabled = btnFaceUnlockSwitchIcon.IsSelected = changeState;
                                 loadSubView(view, faceUnlockSetup);
                             });
                         }
@@ -215,6 +215,7 @@
 
         void loadSubView(VerticalScrolViewLayout view, FaceUnlockSetupObj faceUnlockSetup)
         {
+            view.RemoveAll();
             if (faceUnlockSetup.enabled)
             {
                 #region 瑙﹀彂鏂瑰紡 TriggerMode

--
Gitblit v1.8.0