更新时间:2022-06-07 02:26:23
只需使用 ng-change ,而不是 ng-click
ng-change
ng-click
这里是 DEMO
angular复选框使用ng单击重置绑定到复选框的ng模型,从而防止复选框被取消选中