fengxiang
2018-07-11 1a30ba4211462589698d26688ec24319e48b740c
src/app/routes/widgets/widgets/widgets.component.ts
@@ -55,6 +55,11 @@
  dislike = false;
  constructor(public msg: NzMessageService, private http: _HttpClient) {
    this.http.get('/user-context').subscribe(
      res => {
         console.log(res);
      }
    );
    this.http.get('/chart/visit').subscribe((res: any[]) => {
      this.data = res;
      this.smallData = res.slice(0, 6);