From fa1697a488734425741a354cbab46519f0bae3d0 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Thu, 20 Apr 2023 14:53:52 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E7=BF=BB=E9=A1=B5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../algorithm-config/algorithm-config.component.html | 7 ++++--- .../algorithm-config/algorithm-config.component.ts | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/app/system-management/algorithm-config/algorithm-config.component.html b/src/app/system-management/algorithm-config/algorithm-config.component.html index 128e28c..507eb5d 100644 --- a/src/app/system-management/algorithm-config/algorithm-config.component.html +++ b/src/app/system-management/algorithm-config/algorithm-config.component.html @@ -26,7 +26,7 @@ - + @@ -85,8 +85,9 @@ diff --git a/src/app/system-management/algorithm-config/algorithm-config.component.ts b/src/app/system-management/algorithm-config/algorithm-config.component.ts index a4bad7d..f2e90b9 100644 --- a/src/app/system-management/algorithm-config/algorithm-config.component.ts +++ b/src/app/system-management/algorithm-config/algorithm-config.component.ts @@ -113,6 +113,8 @@ export class AlgorithmConfigComponent implements OnInit { nzClick(event: NzFormatEmitEvent): void { console.log(event.node.origin); this.selectedOrId = event.node.origin.id; + this.SkipCount = 0 + this.nzPageIndex = 1 this.getStationViolationConfigList(); } @@ -156,6 +158,7 @@ export class AlgorithmConfigComponent implements OnInit { }); } + nzPageIndex = 1 pageChange($event) { console.log($event); this.SkipCount = ($event - 1) * this.MaxResultCount;