摘要: 原因是,在最外层的form中使用了 formGroup 指令,但在下面的某个input 插件中,使用了ngModel 指令,但没有加入formControl 指令或 formControlName 属性。 解决方法: 1. 在input元素中添加 formControl 指令或 formContro 阅读全文
posted @ 2022-12-15 10:28 哇塞咔咔 阅读(60) 评论(0) 推荐(0)