<div ng-class='whatClassIsIt(call.State)'>. 然后将您的逻辑放入函数本身: $scope.whatClassIsIt= function(someValue){ if(someValue=="first") ...
確定! 回上一頁