From df2cfb40a8d1e0091f389347942504fa73165397 Mon Sep 17 00:00:00 2001
From: zhouyuejun <505127606@qq.com>
Date: Fri, 25 Jan 2019 13:55:38 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=86=E5=8F=B2=E6=95=B0=E6=8D=AE=E5=88=A0?=
=?UTF-8?q?=E9=99=A4=E5=BC=B9=E5=87=BA=E6=8F=90=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/historical-data/historical-data.component.html | 1 -
.../pages/historical-data/historical-data.component.ts | 8 ++------
2 files changed, 2 insertions(+), 7 deletions(-)
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);
}
)
}