From a0b0212fcd1d26fef2398d3e82425223d61f1f2f Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Mon, 28 Dec 2020 13:10:14 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E6=96=B0=E5=A2=9E=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E8=BF=9B=E5=85=A5=E6=97=B6=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/tabbar/tabbar.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/tabbar/tabbar.component.ts b/src/app/tabbar/tabbar.component.ts index 76fabdb..a9c253b 100644 --- a/src/app/tabbar/tabbar.component.ts +++ b/src/app/tabbar/tabbar.component.ts @@ -77,7 +77,9 @@ export class TabbarComponent implements OnInit { USCI : this.route.snapshot.queryParams.usci } this.http.get('/api/Companies',{params:params}).subscribe((data:any) => { - this.companyIntegrityScore = data.items[0].companyIntegrityScore + this.companyIntegrityScore ? + this.companyIntegrityScore = data.items[0].companyIntegrityScore : + null // console.log(data) }) }