Steven 8 месяцев назад
Родитель
Сommit
01f29071fa

+ 0 - 10
KulexiuForTeacher/KulexiuForTeacher/Module/Mine/MinePage/View/AccompanyCourse/MinePageAccompanyCourseView.m

@@ -65,15 +65,6 @@
             [weakSelf resetParamenter];
             [weakSelf requestData];
         }];
-        self.tableView.mj_footer = [KSGifRefreshFooter footerWithRefreshingBlock:^{
-            if (weakSelf.isLoadMore) {
-                weakSelf.pages += 1;
-                [weakSelf requestData];
-            }
-            else {
-                [weakSelf.tableView.mj_footer endRefreshingWithNoMoreData];
-            }
-        }];
         if (UserDefaultBoolForKey(HIDE_ACCOMPANYTIPS)) {
             self.hideTips = YES;
         }
@@ -102,7 +93,6 @@
     dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
         @strongObj(self);
         [self.tableView.mj_header endRefreshing];
-        [self.tableView.mj_footer endRefreshing];
     });
 }