解決Angular報錯 Can't bind to 'ngModel' since it isn't a known property of 'input'

在input中使用[ngModel]報錯:Can't bind to 'ngModel' since it isn't a known property of 'input'ide 解決辦法:在module.ts中添加import和providersspa import { NgModule } from '@angular/core';code import { FormsModule } fr
相關文章
相關標籤/搜索