From bd46c57c77c276014db3192a4e2cc96e23c93202 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 21 二月 2020 13:08:47 +0800
Subject: [PATCH] 先上传个版本吧

---
 ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs |   18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs
index 9e3a6c2..8a14e1a 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs
@@ -44,6 +44,10 @@
             {
                 Contacts.ContactAction = (phoneName, phoneNum) =>
                 {
+                    if (string.IsNullOrEmpty(phoneName) == true)
+                    {
+                        return;
+                    }
                     //鎵嬫満鍙锋娴�
                     if (this.CheckPhoneNumber("86", phoneNum, phoneName) == false)
                     {
@@ -119,7 +123,7 @@
             var txtNote = new TextInputControl(Application.GetRealWidth(740), txtPhone.Height, false);
             txtNote.X = ControlCommonResourse.XXLeft;
             txtNote.Y = btnLine.Bottom + Application.GetRealHeight(60);
-            txtNote.PlaceholderText = Language.StringByID(R.MyInternationalizationString.uPleaseInpuBackup);
+            txtNote.PlaceholderText = Language.StringByID(R.MyInternationalizationString.uPlesaeInputNoteInformation);
             frameBack.AddChidren(txtNote);
             //鍙栨秷鍥炬爣
             var btnCancel2 = new MostRightIconControl(69, 69);
@@ -204,8 +208,8 @@
             }
             if (strNote == string.Empty)
             {
-                //璇疯緭鍏ュ娉ㄥ悕绉�
-                btnErrorMsg.Text = Language.StringByID(R.MyInternationalizationString.uPleaseInpuBackup);
+                //璇疯緭鍏ュ娉ㄥ唴瀹�
+                btnErrorMsg.Text = Language.StringByID(R.MyInternationalizationString.uPlesaeInputNoteInformation);
                 return false;
             }
 
@@ -232,13 +236,5 @@
         }
 
         #endregion
-
-
-
-
-
-       
-
-     
     }
 }

--
Gitblit v1.8.0