|
@@ -263,6 +263,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- (void)refreshControlValueChanged:(UIRefreshControl *)refresh {
|
|
- (void)refreshControlValueChanged:(UIRefreshControl *)refresh {
|
|
|
|
|
+ self.currentIndexPath = nil;
|
|
|
[self loadData];
|
|
[self loadData];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -407,7 +408,7 @@
|
|
|
[strongSelf.homeOrderTableView reloadData];
|
|
[strongSelf.homeOrderTableView reloadData];
|
|
|
if (strongSelf.currentIndexPath) {
|
|
if (strongSelf.currentIndexPath) {
|
|
|
// [strongSelf.homeOrderTableView scrollToRowAtIndexPath:self.currentIndexPath atScrollPosition:UITableViewScrollPositionMiddle animated:NO];
|
|
// [strongSelf.homeOrderTableView scrollToRowAtIndexPath:self.currentIndexPath atScrollPosition:UITableViewScrollPositionMiddle animated:NO];
|
|
|
- [strongSelf.homeOrderTableView selectRowAtIndexPath:self.currentIndexPath animated:NO scrollPosition:UITableViewScrollPositionMiddle];
|
|
|
|
|
|
|
+ [strongSelf.homeOrderTableView selectRowAtIndexPath:strongSelf.currentIndexPath animated:NO scrollPosition:UITableViewScrollPositionMiddle];
|
|
|
} else {
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
}
|