您需要在组件所在的当前模块中导入 MatMenuModule 。 imports: [ MatMenuModule ]. 从中导入 import { MatMenuModule} from '@angular/material/menu ...
確定! 回上一頁