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); }]; }