1. Problem description:
I want to uniformly modify the disabled of the button through the class tag, but the disablement is not implemented in 4 places in the figure
js page code
$(".readORedit").attr("disabled",true);
2. The problem
Impact of ng-reapet for form data binding (exact reason unknown)
3. Solutions
Use ng-disabled to control the button in the form
js page code
$scope.testor=function(){ return true; }
ng-disabled is a unique feature of angular, which can be followed by the expression expression