From 1254f74c352637dda9d4ce08871ab22ea78cf305 Mon Sep 17 00:00:00 2001 From: fengshuo <963787902@qq.com> Date: Mon, 25 Oct 2021 11:00:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=20=E5=8F=AF=E4=BB=A5=E4=BD=BF?= =?UTF-8?q?=E7=94=A8erbanId=20=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xplan-ios/Main/Login/View/LoginPhoneViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xplan-ios/Main/Login/View/LoginPhoneViewController.m b/xplan-ios/Main/Login/View/LoginPhoneViewController.m index 46116364..808a85eb 100644 --- a/xplan-ios/Main/Login/View/LoginPhoneViewController.m +++ b/xplan-ios/Main/Login/View/LoginPhoneViewController.m @@ -98,8 +98,8 @@ RAC(self.nextButton, enabled) = [self.phoneView.textField.rac_textSignal filter:^BOOL(NSString * _Nullable value) { @strongify(self); self.phone = value; - self.nextButton.enabled = value.length == 11; - return value.length == 11; + self.nextButton.enabled = (value.length == 11 || value.length == 7); + return (value.length == 11 || value.length == 7); }]; }