Parcourir la source

Apex Mobile
修复KPI 查询参数错误
修复饼图触摸闪退的bug
登陆界面版本号加上大版本号

Ray Zhang il y a 8 ans
Parent
commit
ad2630d4b6
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      Apex Mobile/Apex Mobile/PieChart/XYRotatedView.m

+ 3 - 2
Apex Mobile/Apex Mobile/PieChart/XYRotatedView.m

@@ -266,11 +266,12 @@
     
     for (index = 0; index < [_mThetaArray count]; index++) {
         if (_mRelativeTheta < [[_mThetaArray objectAtIndex:index] floatValue]) {
-            break;
+//            break;
+             return index;
         }
     }
     
-    return index;
+    return -1;
 }
 
 #pragma mark - 点击结束,触发旋转方法