From dcbfbea321588749194f645b94a56502b8e6bf5f Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Mon, 29 Jan 2018 21:31:04 +0800
Subject: [PATCH] updates

---
 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