Commit dd8995423e7fba75129ab3b7c256b88a635eacc2
1 parent
bcea668c
no message
Showing
2 changed files
with
4 additions
and
4 deletions
CNLiveBalanceModule/Classes/Controller/CNLiveMonthBillController.m
| @@ -97,7 +97,7 @@ static const CGFloat height = 60; | @@ -97,7 +97,7 @@ static const CGFloat height = 60; | ||
| 97 | self.type = @"2"; | 97 | self.type = @"2"; |
| 98 | self.pageNo = 1; | 98 | self.pageNo = 1; |
| 99 | [self createSubViews]; | 99 | [self createSubViews]; |
| 100 | - [self loadData]; | 100 | + [self.tableView.mj_header beginRefreshing]; |
| 101 | 101 | ||
| 102 | } | 102 | } |
| 103 | 103 | ||
| @@ -135,7 +135,7 @@ static const CGFloat height = 60; | @@ -135,7 +135,7 @@ static const CGFloat height = 60; | ||
| 135 | - (void)monthBillView:(CNLiveMonthBillView *)view startTime:(NSString *)startTime endTime:(NSString *)endTime{ | 135 | - (void)monthBillView:(CNLiveMonthBillView *)view startTime:(NSString *)startTime endTime:(NSString *)endTime{ |
| 136 | self.startTime = startTime; | 136 | self.startTime = startTime; |
| 137 | self.endTime = endTime; | 137 | self.endTime = endTime; |
| 138 | - [self loadData]; | 138 | + [self.tableView.mj_header beginRefreshing]; |
| 139 | } | 139 | } |
| 140 | - (void)switchType:(NSString *)type{ | 140 | - (void)switchType:(NSString *)type{ |
| 141 | if(self.type != type){ | 141 | if(self.type != type){ |
CNLiveBalanceModule/Classes/Controller/CNLiveTradingRecordController.m
| @@ -96,8 +96,8 @@ static const CGFloat height = 80; | @@ -96,8 +96,8 @@ static const CGFloat height = 80; | ||
| 96 | self.endTime = times.lastObject; | 96 | self.endTime = times.lastObject; |
| 97 | self.pageNo = 1; | 97 | self.pageNo = 1; |
| 98 | 98 | ||
| 99 | - [self loadData]; | ||
| 100 | - | 99 | + [self.tableView.mj_header beginRefreshing]; |
| 100 | + | ||
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | - (void)createSubViews { | 103 | - (void)createSubViews { |