Просмотр исходного кода

1.修改iOS Apex Mobile KPI点击崩溃。

Pen Li 8 лет назад
Родитель
Сommit
8be58d8bb1
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      Apex Mobile/Apex Mobile/HomeViewController.m
  2. 1 1
      Apex Mobile/Apex Mobile/KPICell.m

+ 1 - 1
Apex Mobile/Apex Mobile/HomeViewController.m

@@ -230,7 +230,7 @@
 //                    NSMutableDictionary *item = [kpiArr objectAtIndex:i];
 //                    [self.KPIArray addObject:item];
 //                }
-                
+                 
                 [self.KPIArray addObjectsFromArray:kpiArr];
 
                 

+ 1 - 1
Apex Mobile/Apex Mobile/KPICell.m

@@ -140,7 +140,7 @@
     NSDictionary *json = _infoDic;
     NSMutableArray * itemsArr = [json[@"arr_val"] mutableCopy];
     NSMutableDictionary* item = [[itemsArr objectAtIndex:index] mutableCopy];
-    
+    //
     sender.selected = !sender.selected;
     [item setObject:@(sender.selected) forKey:@"display"];
     [itemsArr replaceObjectAtIndex:index withObject:item];