angular项目启动报错
Can‘t bind to ‘ngModel‘ since it isn‘t a known property of ‘input‘.
原因:当前module模块未引入 ‘ngModel‘, 把 FormsModule 添加到 @NgModule 元数据的 imports 数组中即可
Can't bind to 'ngModel' since it isn't a known property of 'input'.
原文地址:https://www.cnblogs.com/jing5990/p/12191127.html
时间: 2024-10-11 04:22:15