Skip to content

Commit c5fe307

Browse files
committed
修改了MR取消功能
1 parent 3c0cee8 commit c5fe307

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Coding_iOS/Controllers/MRDetailViewController.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,7 @@ - (void)cancelMRPR{
410410
__weak typeof(self) weakSelf = self;
411411
[[Coding_NetAPIManager sharedManager] request_MRPRCancel:_curMRPRInfo.mrpr andBlock:^(id data, NSError *error) {
412412
if (data) {
413-
weakSelf.curMRPRInfo = nil;
414-
[weakSelf.myTableView reloadData];
415-
[weakSelf refresh];
413+
[weakSelf.navigationController popViewControllerAnimated:YES];
416414
}
417415
}];
418416
}

0 commit comments

Comments
 (0)