|
|
@ -59,8 +59,8 @@ export class MenuComponent implements OnInit { |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.allOrList = data.result.items |
|
|
|
this.allOrList = data.result.items |
|
|
|
this.nodes = [...this.toTree.toTree(data.result.items)] |
|
|
|
this.nodes = [...this.toTree.toTree(data.result.items)] |
|
|
|
this.defaultExpandedKeys = [this.nodes[0].id] |
|
|
|
// this.defaultExpandedKeys = [this.nodes[0].id]
|
|
|
|
this.defaultExpandedKeys = [...this.defaultExpandedKeys] |
|
|
|
// this.defaultExpandedKeys = [...this.defaultExpandedKeys]
|
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|