From 61873531cdd8a365645fc3cb1fb22f9031ea5f0e Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Mon, 29 Jan 2018 16:55:23 +0800 Subject: [PATCH] mock调用注释 --- src/app/routes/dashboard/v1/v1.component.ts | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/routes/dashboard/v1/v1.component.ts b/src/app/routes/dashboard/v1/v1.component.ts index eb0bf8e..388ae8a 100644 --- a/src/app/routes/dashboard/v1/v1.component.ts +++ b/src/app/routes/dashboard/v1/v1.component.ts @@ -26,10 +26,10 @@ offlineChartData: any[] = []; ngOnInit() { - this.http.get('/chart').subscribe((res: any) => { - this.webSite = res.visitData.slice(0, 10); - this.salesData = res.salesData; - this.offlineChartData = res.offlineChartData; - }); + // this.http.get('/chart').subscribe((res: any) => { + // this.webSite = res.visitData.slice(0, 10); + // this.salesData = res.salesData; + // this.offlineChartData = res.offlineChartData; + // }); } } -- Gitblit v1.8.0