From 37e1c6c85e715fb46123f1a608fce52aac838dad Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Wed, 29 Jun 2022 14:07:57 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E7=BB=84=E7=BB=87=E6=9C=BA?= =?UTF-8?q?=E6=9E=84=E6=A0=B9=E6=8D=AE=E7=99=BB=E5=BD=95=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system-management/organization/organization.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/system-management/organization/organization.component.ts b/src/app/system-management/organization/organization.component.ts index 9deaf31..3f7308d 100644 --- a/src/app/system-management/organization/organization.component.ts +++ b/src/app/system-management/organization/organization.component.ts @@ -51,6 +51,9 @@ export class OrganizationComponent implements OnInit { }).subscribe((data: any) => { this.totalCount = data.result.totalCount data.result.items.forEach(element => { + if (element.id == OrganizationUnitId) { + element.parentId = null + } element.key = element.id element.title = element.displayName element.selectable = false