From b9cb076fe6127160c96c35bf9c8cebcffe1d5ccd Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 10 一月 2020 17:35:23 +0800 Subject: [PATCH] 2020.1.10 --- ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs index 702fbec..ffeae6e 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs @@ -44,6 +44,15 @@ { Contacts.ContactAction = (phoneName, phoneNum) => { + if (string.IsNullOrEmpty(phoneName) == true) + { + return; + } + //鎵嬫満鍙锋娴� + if (this.CheckPhoneNumber("86", phoneNum, phoneName) == false) + { + return; + } //淇濆瓨鑱旂郴浜� this.SaveCoercePhoneNumber("86", phoneNum, phoneName); }; @@ -107,6 +116,8 @@ btnLine.Y = Application.GetRealHeight(150); btnLine.Gravity = Gravity.CenterHorizontal; frameBack.AddChidren(btnLine); + //鑱斿姩绾跨殑鐘舵�� + txtPhone.btnLine = btnLine; //澶囨敞 var txtNote = new TextInputControl(Application.GetRealWidth(740), txtPhone.Height, false); -- Gitblit v1.8.0