Can't bind to 'ngModel' since it isn't a known property of 'input'.

 angular項目啓動報錯數組

Can't bind to 'ngModel' since it isn't a known property of 'input'.orm

緣由:當前module模塊未引入 'ngModel',  把 FormsModule 添加到 @NgModule 元數據的 imports 數組中便可input

相關文章
相關標籤/搜索