diff --git a/src/app/pages/historical-data/historical-data.component.html b/src/app/pages/historical-data/historical-data.component.html index 744951e..575e197 100644 --- a/src/app/pages/historical-data/historical-data.component.html +++ b/src/app/pages/historical-data/historical-data.component.html @@ -115,7 +115,6 @@ {{airline_col.COL_CN}} -
暂无数据
diff --git a/src/app/pages/historical-data/historical-data.component.ts b/src/app/pages/historical-data/historical-data.component.ts index b59d514..947fa69 100644 --- a/src/app/pages/historical-data/historical-data.component.ts +++ b/src/app/pages/historical-data/historical-data.component.ts @@ -1,9 +1,6 @@ import { Component, OnInit, ViewChild, Renderer2 } from '@angular/core'; import { ChangeDetectorRef } from '@angular/core'; -import { ToastService } from '../../components/toast/toast.service'; -import { ToastConfig, ToastType } from '../../components/toast/toast-model'; - import { HttpClientService } from '../../services/http-client.service'; import { BasicDataService } from '../../services/basic-data-service'; import { OperateSpinServiceService } from '../../services/operate-spin-service.service'; @@ -26,7 +23,6 @@ export class HistoricalDataComponent implements OnInit { private basicDataService: BasicDataService, private operateSpinServiceService: OperateSpinServiceService, private httpCilent: HttpClientService, - private toastService: ToastService, private changeDetectorRef: ChangeDetectorRef, ) { this.operateSpinServiceService.showSpin(); @@ -276,8 +272,8 @@ export class HistoricalDataComponent implements OnInit { }) this.combined_data = combined_data; this.doSequence(this.combined_data); - const toastCfg = new ToastConfig(ToastType.SUCCESS, '', '刷新成功!', 3000); - this.toastService.toast(toastCfg); + // const toastCfg = new ToastConfig(ToastType.SUCCESS, '', '刷新成功!', 3000); + // this.toastService.toast(toastCfg); } ) }