|
@@ -46,6 +46,14 @@
|
|
|
RAEditBaseModel *model = [self createModelWithJsonItem:item];
|
|
RAEditBaseModel *model = [self createModelWithJsonItem:item];
|
|
|
if (model) {
|
|
if (model) {
|
|
|
[itemArr addObject: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;
|
|
_items = itemArr;
|