Explorar o código

1.修改iOS Apex Mobile KPI刷新后显示第一个。

Pen Li %!s(int64=8) %!d(string=hai) anos
pai
achega
b5c6256aaa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Apex Mobile/Apex Mobile/HomeViewController.m

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

@@ -292,7 +292,7 @@ typedef enum {
             
             
             int result = [[json objectForKey:@"result"] intValue];
             int result = [[json objectForKey:@"result"] intValue];
             if (result == RESULT_TRUE) {
             if (result == RESULT_TRUE) {
-                
+                self.currentKPI = 1;
                 self.monthArray = [json objectForKey:@"month"];
                 self.monthArray = [json objectForKey:@"month"];
                 
                 
                 [self.KPIArray removeAllObjects];
                 [self.KPIArray removeAllObjects];