edit
This commit is contained in:
@ -122,8 +122,17 @@ export class MenuTreeComponent implements OnInit, OnChanges {
|
||||
});
|
||||
}
|
||||
} else {
|
||||
console.log(event);
|
||||
|
||||
if (event.node?.isChecked) {
|
||||
this.recursionSetNodeAuth(event.node.origin);
|
||||
if (event.node.parentNode) {
|
||||
this._NodeAuthMap.set(event.node.parentNode.origin.id, {
|
||||
authorityId: event.node.parentNode.origin.id,
|
||||
buttonAuthorityIds: [],
|
||||
isUpdateAuthority: 1
|
||||
});
|
||||
}
|
||||
if (this.origin.checked) {
|
||||
this.origin.buttonInfoList.forEach((auth: any) => this._apiAuthSet.add(auth.functionButtonId));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user