Open bl724 opened 5 years ago
按照示例写的,只导入 AmapPlaceSearchService ,构造函数申明页面就报错 core.js:15724 ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[AmapPlaceSearchService -> LoggerService]: StaticInjectorError(Platform: core)[AmapPlaceSearchService -> LoggerService]: ionic4+angular7.2
core.js:15724 ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[AmapPlaceSearchService -> LoggerService]: StaticInjectorError(Platform: core)[AmapPlaceSearchService -> LoggerService]:
确保你的module有正确引入 NgxAmapModule.forRoot({...})
按照示例写的,只导入 AmapPlaceSearchService ,构造函数申明页面就报错
core.js:15724 ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[AmapPlaceSearchService -> LoggerService]: StaticInjectorError(Platform: core)[AmapPlaceSearchService -> LoggerService]:
ionic4+angular7.2