修复bug
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
|
||||
- (void)racBind {
|
||||
RAC(self.loginBtn, enabled) = [[RACSignal combineLatest:@[self.phoneInputView.inputTextField.rac_textSignal, self.pwdInputView.inputTextField.rac_textSignal] reduce:^id _Nonnull(NSString *phone, NSString* password){
|
||||
return @((phone.length ==11 || phone.length == 7) && password.length >= 6);
|
||||
return @((phone.length > 0) && password.length >= 6);
|
||||
}] takeUntil:self.rac_willDeallocSignal];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user