edit
This commit is contained in:
@ -136,7 +136,7 @@ export class StaffManagementComponent implements OnInit {
|
||||
staffAction(item?: any) {
|
||||
const modal = this.nzModalService.create({
|
||||
nzContent: SystemStaffStaffModalComponent,
|
||||
nzComponentParams: item ? { i: { ...item, roleId: (item.roleId as string)?.split(',') || [] } } : { i: { userId: 0 } },
|
||||
nzComponentParams: item ? { i: { ...item, roleId: item.roleId ? (item.roleId as string)?.split(',') : null } } : { i: { userId: 0 } },
|
||||
nzFooter: null
|
||||
});
|
||||
modal.afterClose.subscribe(res => {
|
||||
|
||||
Reference in New Issue
Block a user