ERROR Error: If ngModel is used within a form tag, either the name attribute must be set or the form
control must be defined as 'standalone' in ngModelOptions.
解决方案1:
在input标签上加上name属性
解决方案2:
在input标签上加上[ngModelOptions]="{standalone: true}"