摘要: 错误原因:在最外层的form中使用了 formGroup 指令,但在下面的某个input 元素中,使用了ngModel 指令,但没有加入formControl 指令或 formControlName 属性。 解决方法一 在input元素中添加 formControl 指令或 formControlN 阅读全文
posted @ 2020-01-02 20:50 砂糖一椰子 阅读(3304) 评论(0) 推荐(0) 编辑