标签:xxx logs inpu 解决 分享 log bin 报错 mode
用[(ngModel)]="xxx"双向绑定,如:控制台报错:Can‘t bind to ‘ngModel‘ since it isn‘t a known property of ‘input‘.
解决办法:在app.module.ts文件中导入FormsModule
Angular4 - Can't bind to 'ngModel' since it isn't a known property of 'input'.
标签:xxx logs inpu 解决 分享 log bin 报错 mode
原文地址:http://www.cnblogs.com/jzsz/p/7208511.html