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/analysis/analysis.component.ts |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/app/routes/dashboard/analysis/analysis.component.ts b/src/app/routes/dashboard/analysis/analysis.component.ts
index 8a196fb..0bc230f 100644
--- a/src/app/routes/dashboard/analysis/analysis.component.ts
+++ b/src/app/routes/dashboard/analysis/analysis.component.ts
@@ -31,14 +31,14 @@
     private http2: HttpClient) {}
 
     ngOnInit() {
-        this.http.get('/chart').subscribe((res: any) => {
-            res.offlineData.forEach((item: any) => {
-                item.chart = Object.assign([], res.offlineChartData);
-            });
-            this.data = res;
-            this.loading = false;
-            this.changeSaleType();
-        });
+        // this.http.get('/chart').subscribe((res: any) => {
+        //     res.offlineData.forEach((item: any) => {
+        //         item.chart = Object.assign([], res.offlineChartData);
+        //     });
+        //     this.data = res;
+        //     this.loading = false;
+        //     this.changeSaleType();
+        // });
     }
 
     setDate(type: any) {

--
Gitblit v1.8.0