From b7e92c44c93e3bfb7279dc6d9c3f65590868a3f3 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Wed, 17 Mar 2021 17:17:03 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E5=AE=8C=E5=96=84=E9=87=87?= =?UTF-8?q?=E9=9B=86=E9=A1=B5=E9=9D=A2=E6=96=B0=E5=A2=9E=E5=90=8E=E8=B7=B3?= =?UTF-8?q?=E5=88=B0=E7=AC=AC=E4=B8=80=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data-collection/linkage-forces/linkage-forces.component.ts | 2 ++ .../water-collection/water-collection.component.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/app/data-collection/linkage-forces/linkage-forces.component.ts b/src/app/data-collection/linkage-forces/linkage-forces.component.ts index a536e34..a4814be 100644 --- a/src/app/data-collection/linkage-forces/linkage-forces.component.ts +++ b/src/app/data-collection/linkage-forces/linkage-forces.component.ts @@ -474,6 +474,7 @@ export class LinkageForcesComponent implements OnInit { config.verticalPosition = 'top'; config.duration = 3000 this.snackBar.open('修改成功','确定',config); + this.PageNumber = 1 //当前第几页 this.getAllFireForce() }) }else{ @@ -484,6 +485,7 @@ export class LinkageForcesComponent implements OnInit { config.duration = 3000 this.snackBar.open('保存成功','确定',config); this.LinkageForceDetailInfo = data + this.PageNumber = 1 //当前第几页 this.getAllFireForce() }) } diff --git a/src/app/data-collection/water-collection/water-collection.component.ts b/src/app/data-collection/water-collection/water-collection.component.ts index 1a250d3..fa2076f 100644 --- a/src/app/data-collection/water-collection/water-collection.component.ts +++ b/src/app/data-collection/water-collection/water-collection.component.ts @@ -433,6 +433,7 @@ export class WaterCollectionComponent implements OnInit { config.duration = 3000 this.snackBar.open('修改成功','确定',config); this.selectedLiIndex = 0 + this.PageNumber = 1 //当前第几页 this.getAllWaterData() }) }else{ @@ -445,6 +446,7 @@ export class WaterCollectionComponent implements OnInit { this.snackBar.open('保存成功','确定',config); this.selectedLiIndex = 0 this.waterData = data + this.PageNumber = 1 //当前第几页 this.getAllWaterData() }) }