From 00ab3ddb140ba8bb88b5cf572b004a85e1da85e9 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 02 一月 2020 19:51:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into DEV_GXC --- 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