包括提供者:Constructur中的MatDialog
constructor(groupService: GroupService, public dialog: MatDialog)
Run Code Online (Sandbox Code Playgroud)
我在运行时遇到以下错误
Error: No provider for InjectionToken mat-dialog-scroll-strategy!
Run Code Online (Sandbox Code Playgroud)
我已将Matdialog包含在"app.module.ts"中我是否需要一个不同的提供商以及哪一个?我使用角度材料2.0.0b12
谢谢