Commit 4232b564a13af884225dba442d3e1ac087274686

Authored by 王军波
1 parent 45f72e8e

7732 个人认证进行到填写机构资料时,点击返回后按钮显示提交中无法再次返回填写机构资料

CNLiveBPersonalVerificationModule/Classes/CNBPersonCardInfo/Controller/ApplyForShootController.m
@@ -485,6 +485,8 @@ @@ -485,6 +485,8 @@
485 //成功 485 //成功
486 // CNBPersonalVerificationController *vc = [[CNBPersonalVerificationController alloc]init]; 486 // CNBPersonalVerificationController *vc = [[CNBPersonalVerificationController alloc]init];
487 // [self.navigationController pushViewController:vc animated:NO]; 487 // [self.navigationController pushViewController:vc animated:NO];
  488 + sender.selected = !sender.selected;
  489 + sender.userInteractionEnabled = YES;
488 id <CNLiveBPersonAuthentProtocol>service = [[BeeHive shareInstance]createService:@protocol(CNLiveBPersonAuthentProtocol)]; 490 id <CNLiveBPersonAuthentProtocol>service = [[BeeHive shareInstance]createService:@protocol(CNLiveBPersonAuthentProtocol)];
489 UIViewController *vc = [service pushToAddPerAuthInstitutionsController:@{}]; 491 UIViewController *vc = [service pushToAddPerAuthInstitutionsController:@{}];
490 [self.navigationController pushViewController:vc animated:YES]; 492 [self.navigationController pushViewController:vc animated:YES];
@@ -498,7 +500,7 @@ @@ -498,7 +500,7 @@
498 500
499 } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) { 501 } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
500 502
501 - [QMUITips hideAllTipsInView:self.view]; 503 + [QMUITips hideAllTipsInView:[UIApplication sharedApplication].delegate.window];
502 sender.selected = !sender.selected; 504 sender.selected = !sender.selected;
503 sender.userInteractionEnabled = YES; 505 sender.userInteractionEnabled = YES;
504 [QMUITips showError:error.localizedDescription inView:self.view hideAfterDelay:1.5]; 506 [QMUITips showError:error.localizedDescription inView:self.view hideAfterDelay:1.5];