Fix optimization issue
This commit is contained in:
parent
db6a31dd85
commit
d89b43e055
1 changed files with 29 additions and 15 deletions
|
|
@ -30,15 +30,18 @@ export class DataService extends Root<Page> {
|
|||
Serializable.childrenMap = {
|
||||
Page: {
|
||||
childrenListName: 'towers',
|
||||
childrenConstructor: Tower
|
||||
childrenConstructor: Tower,
|
||||
childrenType: 'Tower'
|
||||
},
|
||||
Tower: {
|
||||
childrenListName: 'blocks',
|
||||
childrenConstructor: Block
|
||||
childrenConstructor: Block,
|
||||
childrenType: 'Block'
|
||||
},
|
||||
Block: {
|
||||
childrenListName: null,
|
||||
childrenConstructor: null
|
||||
childrenConstructor: null,
|
||||
childrenType: null
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue