单军华
2018-04-28 1d39caf7235522ae121db7a188ba41a706217407
pregnancy_guard/BaseProject/Controller/Mine/SettingPage.m
@@ -7,7 +7,6 @@
//
#import "SettingPage.h"
#import "ChangeNamePage.h"
#import "ChangePwdPage.h"
//#import "CommonReqModel.h"
@@ -136,29 +135,29 @@
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    NSInteger index = [indexPath row];
    // 页面跳转
    if(index == 0)
    {
        // 跳转昵称修改界面
        ChangeNamePage * page = [[ChangeNamePage alloc] initIsFirstPage:NO];
        [self.navigationController pushViewController:page animated:YES];
    }
    else if(index == 1)
    {
        // 跳转修改密码界面
        ChangePwdPage * page = [[ChangePwdPage alloc] initIsFirstPage:NO];
        [self.navigationController pushViewController:page animated:YES];
    }
    else if(index == 2)
    {
        // 跳转修改密码界面
        ChangePwdPage * page = [[ChangePwdPage alloc] initIsFirstPage:NO];
        [self.navigationController pushViewController:page animated:YES];
    }
    else
    {
        //TODO
    }
//    // 页面跳转
//    if(index == 0)
//    {
//        // 跳转昵称修改界面
//        ChangeNamePage * page = [[ChangeNamePage alloc] initIsFirstPage:NO];
//        [self.navigationController pushViewController:page animated:YES];
//    }
//    else if(index == 1)
//    {
//        // 跳转修改密码界面
//        ChangePwdPage * page = [[ChangePwdPage alloc] initIsFirstPage:NO];
//        [self.navigationController pushViewController:page animated:YES];
//    }
//    else if(index == 2)
//    {
//        // 跳转修改密码界面
//        ChangePwdPage * page = [[ChangePwdPage alloc] initIsFirstPage:NO];
//        [self.navigationController pushViewController:page animated:YES];
//    }
//    else
//    {
//        //TODO
//    }
}
#pragma mark - custom function begin