From 43b6e3d6a3a96e7b759b396df4f141ab105fb6bb Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期五, 05 三月 2021 11:31:58 +0800
Subject: [PATCH] 合并嘉乐代码并测试通过

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/TipView.cs |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/TipView.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/TipView.cs
index 599f167..5d70028 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/TipView.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/TipView.cs
@@ -20,7 +20,7 @@
         /// 杈撳叆妗�
         /// </summary>
         /// <param name="confirmAction">鍥炶皟鍑芥暟</param>
-        public void InputBox(string tnputEditTxet, Action<string> confirmAction)
+        public void InputBox(string tnputEditTxet, Action<string, Dialog> confirmAction,bool if_bool=true)
         {
             Dialog dialog = new Dialog()
             {
@@ -163,14 +163,16 @@
                 {
                     return;
                 }
-                confirmAction(editText.Text.Trim());
-                dialog.Close();
+                confirmAction(editText.Text.Trim(), dialog);
+                if (if_bool) {
+                    dialog.Close();
+                }
             };
 
         }
 
 
-
+       
 
 
     }

--
Gitblit v1.8.0