使用`setErrors({'wrong':true})`只需为输入设置`ng-invalid` css类.我希望它对某人有帮助. (4认同); 我可以将整个被动表单设置为有效或无效而不是重 ...
確定! 回上一頁