Ver código fonte

1.修改iOS Apex Drivers Update Order直接显示Signature日期。

Pen Li 7 anos atrás
pai
commit
a5a8cd1ac3

+ 8 - 0
Redant Drivers/Apex And Drivers/Update/RAOrderEditViewController.m

@@ -46,6 +46,14 @@
         RAEditBaseModel *model = [self createModelWithJsonItem:item];
         if (model) {
             [itemArr addObject:model];
+            // expand 直接放出来
+            if (model.expand && [model.expand isKindOfClass:[NSDictionary class]]) {
+                RAEditBaseModel *expand = [self createModelWithJsonItem:model.expand];
+                if (expand) {
+                    model.expand = expand;
+                    [itemArr addObject:expand];
+                }
+            }
         }
     }
     _items = itemArr;