From 1a30ba4211462589698d26688ec24319e48b740c Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 11 Jul 2018 15:08:40 +0800 Subject: [PATCH] 提交 --- src/app/routes/widgets/widgets/widgets.component.ts | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/app/routes/widgets/widgets/widgets.component.ts b/src/app/routes/widgets/widgets/widgets.component.ts index dd98087..a520be5 100644 --- a/src/app/routes/widgets/widgets/widgets.component.ts +++ b/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); -- Gitblit v1.8.0