关于ionic表单的 If 'ion-list' is an Angular component and it has 'formGroup' input,错误

标题 If ‘ion-list’ is an Angular component and it has ‘formGroup’ input, then verify that it is part of this module.

我们容易犯的错就是在App.moduls.ts引入了FormsModule和ReactiveFormsModule,而忘记给每个需要的组件引入FormsModule和ReactiveFormsModule,
我也是一开始在aapmodule里引入后,忘记在我需要的组件里引入引发了下面的错误关于ionic表单的 If 'ion-list' is an Angular component and it has 'formGroup' input,错误
这个时候我们只需要在它提示的组建立引入FormsModule和ReactiveFormsModule,就像下面这样就行了关于ionic表单的 If 'ion-list' is an Angular component and it has 'formGroup' input,错误
特别注意,我自己的tab2组件需要,所以在这里,你们按照自己的需求加到相应的组建