angular 10 error TS2339: Property 'data' does not exist on type 'any[]'

后端 未结 0 1371
终归单人心
终归单人心 2020-11-22 03:03

I have component:

user = [];
constructor(private apiService: ApiService) {}
ngOnInit(): void {
this.apiService.sendGetRequest().subscribe((data: any[]) =>          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题