作者:Andiry舍甫琴科 | 来源:互联网 | 2022-12-16 13:45
1> Igor..:
你必须在导入import
模块HttpClientModule
和引用.
// reference the module
import { HttpClientModule } from '@angular/common/http';
imports: [
BrowserModule,
HttpClientModule, // import the module
IonicModule.forRoot(MyApp)
]