Przeglądaj źródła

1.修改Apex Mobile Result,将加载数据时禁止交互。

Pen Li 8 lat temu
rodzic
commit
5663a10ae7
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      common/customUI/ResultViewController.m

+ 2 - 0
common/customUI/ResultViewController.m

@@ -1092,8 +1092,10 @@ const int delta = 25;
             return;
         option = 2;
     }
+    self.tableview.userInteractionEnabled = NO;
     __weak typeof(self) weakSelf = self;
     [self loadContentWithOption:option Complete:^(int result, int count) {
+        weakSelf.tableview.userInteractionEnabled = YES;
         if ([refresh isEqual:weakSelf.tableview.jl_header]) {
             [weakSelf.tableview.jl_header performSelector:@selector(endRefresh)];
         }