📅  最后修改于: 2022-03-11 14:48:37.084000             🧑  作者: Mango
import {MatDatepickerModule} from '@angular/material/datepicker';
import {MatNativeDateModule} from '@angular/material/core';
...
@NgModule({
...
imports: [
...
MatDatepickerModule,
MatNativeDateModule
...
]
})