<button ng-disabled="test()">按钮</button>angular.module('myApp', []).controller('c',function($scope){ $scope.test=function(){ console.log('为什么打印两次'); return false; }})
添加回答
举报
0/150
提交
取消