EZSDK/EZSDK/EZ/UIViewControllers/EZWifiConfigViewController.m
@@ -11,6 +11,7 @@
#import "DDKit.h"
#import "EZDeviceTableViewController.h"
#import "EZDdnsDeviceTableViewController.h"
#import "EZAddByQRCodeViewController.h"
// 设备bonjour搜索到的状态标示
typedef enum _DEVICE_STATE
@@ -788,7 +789,6 @@
    }
}
#pragma mark - Action Methods
- (void)completionButtonClicked:(id)sender
{
    NSArray *viewControllers = self.navigationController.viewControllers;
@@ -807,6 +807,13 @@
            [self.navigationController popToViewController:vc animated:YES];
            break;
        }
        if ([vc isKindOfClass:[EZAddByQRCodeViewController class]])
        {//跳转到扫码页
            ((EZAddByQRCodeViewController *)vc).shouldPop = YES;
            [self.navigationController popToViewController:vc animated:YES];
            break;
        }
    }
}