From 9fdbefc89e6cfcd6a76a09e8cb2a756d802bc5d1 Mon Sep 17 00:00:00 2001 From: shimingxy Date: Wed, 10 Sep 2025 18:13:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E9=83=A8=E9=97=A8=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/routes/idm/users/select-user/select-user.component.ts | 1 + .../src/app/routes/idm/users/users.component.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/select-user/select-user.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/select-user/select-user.component.ts index dfa4dd7e5..e80b61521 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/select-user/select-user.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/select-user/select-user.component.ts @@ -182,6 +182,7 @@ export class SelectUserComponent implements OnInit { activeNode(data: NzFormatEmitEvent): void { this.treeNodes.activated = data.node!; this.query.params.departmentId = data.node!.key; + this.query.params.pageNumber = 1; this.fetch(); } diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/users.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/users.component.ts index 686c361a3..8d4f9d951 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/users.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/idm/users/users.component.ts @@ -340,6 +340,7 @@ export class UsersComponent implements OnInit { activeNode(data: NzFormatEmitEvent): void { this.treeNodes.activated = data.node!; this.query.params.departmentId = data.node!.key; + this.query.params.pageNumber = 1; this.fetch(); }