Pārlūkot izejas kodu

1.修改iOS Apex Drivers Update Order去除模拟数据。

Pen Li 7 gadi atpakaļ
vecāks
revīzija
1f8a2b616b

+ 5 - 5
Redant Drivers/Apex And Drivers/Update/RAOrderEditViewController.m

@@ -48,7 +48,7 @@
             case RAEditTypeLabel: {
                 
                 RAEditLabelModel *model = [RAEditLabelModel new];
-                model.required = YES;
+//                model.required = YES;
                 [model setValuesForKeysWithDictionary:item];
                 [itemArr addObject:model];
             }
@@ -56,7 +56,7 @@
             case RAEditTypeInput: {
                 
                 RAEditInputModel *model = [RAEditInputModel new];
-                model.required = YES;
+//                model.required = YES;
                 [model setValuesForKeysWithDictionary:item];
                 [itemArr addObject:model];
             }
@@ -64,7 +64,7 @@
             case RAEditTypeMultInput: {
                 
                 RAEditMultInputModel *model = [RAEditMultInputModel new];
-                model.required = YES;
+//                model.required = YES;
                 [model setValuesForKeysWithDictionary:item];
                 [itemArr addObject:model];
             }
@@ -72,7 +72,7 @@
             case RAEditTypePhoto: {
                 
                 RAEditPhotoModel *model = [RAEditPhotoModel new];
-                model.required = YES;
+//                model.required = YES;
                 [model setValuesForKeysWithDictionary:item];
                 [itemArr addObject:model];
             }
@@ -80,7 +80,7 @@
             case RAEditTypeSignature: {
                 
                 RAEditSignatureModel *model = [RAEditSignatureModel new];
-                model.required = YES;
+//                model.required = YES;
                 [model setValuesForKeysWithDictionary:item];
                 [itemArr addObject:model];
             }