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

1.修改NPD CommonEditor iPhone Cell高度。

Pen Li 8 лет назад
Родитель
Сommit
b26188e2e8

BIN
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate


+ 9 - 0
RedAnt ERP Mobile/common/CommonEditor/CommonEditorViewController.m

@@ -2673,6 +2673,15 @@
             return 80;
         else if ([control isEqualToString:@"switch"])
             return 80;
+        else if([control isEqualToString:@"multi_action"])
+        {
+            int count = [[item_json valueForKey:@"count"]intValue];
+            if (count <= 2) {
+                return 50;
+            } else {
+                return 100;
+            }
+        }
         
         return 80;
     } else {