[web-app] 增加同步按钮

This commit is contained in:
tomsun28
2021-12-17 15:43:25 +08:00
parent faf25b557e
commit d4241e093f
8 changed files with 38 additions and 10 deletions

View File

@@ -28,6 +28,10 @@ export class AlertCenterComponent implements OnInit {
this.loadAlertsTable();
}
sync() {
this.loadAlertsTable();
}
loadAlertsTable() {
this.tableLoading = true;
let alertsInit$ = this.alertSvc.getAlerts(this.pageIndex - 1, this.pageSize)