diff --git a/src/app/system-management/user/user.component.ts b/src/app/system-management/user/user.component.ts index 3438fb0..dce54c0 100644 --- a/src/app/system-management/user/user.component.ts +++ b/src/app/system-management/user/user.component.ts @@ -97,6 +97,8 @@ export class UserComponent implements OnInit { this.nodes = [...this.toTree.toTree(data.result.items)] resolve(data) this.getAllUsers() + console.log(this.nodes); + this.defaultExpandedKeys = [this.nodes[0].id] this.defaultExpandedKeys = [...this.defaultExpandedKeys] })