【发布时间】:2020-08-30 19:18:28
【问题描述】:
每当我尝试从角度材料中使用“选择”(https://material.angular.io/components/select/overview) 时,都会出现此错误。 我导入了 MatSelectModule。
core.js:6272 错误 NullInjectorError: R3InjectorError(RootModule)[InjectionToken mat-select-scroll-strategy -> InjectionToken mat-select-scroll-strategy -> InjectionToken mat-select-scroll-strategy -> InjectionToken mat-select -滚动策略]: NullInjectorError: InjectionToken mat-select-scroll-strategy 没有提供者!
【问题讨论】:
标签: angular select angular-material