Commit c4446c60 authored by 邢超's avatar 邢超

传值增加判空操作

parent dd85215e
......@@ -71,7 +71,7 @@
//设置导航栏左右按钮
[self customLeftBarButtonItemWithImgName:@"vc_close" action:nil];
[self custemRightBarButtonItemWithTitle:@"注册" imageName:nil action:^(UIButton * _Nonnull button) {
[Mediator performTarget:[QGMediatorClassTools QGClassNameWithHeaderType:QGHeaderTypeQGRegisterViewController] parameters:@{@"phone":self.phoneString} handlerBlock:^(NSString *tag, NSDictionary *parameters) {
[Mediator performTarget:[QGMediatorClassTools QGClassNameWithHeaderType:QGHeaderTypeQGRegisterViewController] parameters:@{@"phone":IsStringNull(self.phoneString)} handlerBlock:^(NSString *tag, NSDictionary *parameters) {
if (parameters) {
self.phoneString = [parameters valueForKey:@"phone"];
......@@ -484,7 +484,7 @@
switch (btnType) {
case LittleBtnVerifyCode:{
//验证码登录页面跳转
[Mediator performTarget:[QGMediatorClassTools QGClassNameWithHeaderType:QGHeaderTypeQGRegisterViewController] parameters:@{@"phone":self.phoneString} handlerBlock:^(NSString *tag, NSDictionary *parameters) {
[Mediator performTarget:[QGMediatorClassTools QGClassNameWithHeaderType:QGHeaderTypeQGRegisterViewController] parameters:@{@"phone":IsStringNull(self.phoneString)} handlerBlock:^(NSString *tag, NSDictionary *parameters) {
if (parameters) {
self.phoneString = [parameters valueForKey:@"phone"];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment