diff --git a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts index c2f0f7925..37117d6bb 100644 --- a/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts +++ b/maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/dashboard/home/home.component.ts @@ -36,7 +36,7 @@ import worldMap from '../../../shared/map/json/world.zh.json'; export class HomeComponent implements OnInit { simulateData: any[] = []; //当月新增 - newUsers!: any[]; + newUsers: number = 0; //当月活动 activeUsers: number = 0; //当天统计 @@ -48,7 +48,7 @@ export class HomeComponent implements OnInit { totalApps: number = 0; //在线用户 - onlineUsers!: any[]; + onlineUsers: number = 0; //当日 dayData: any[] = []; //当月