我是angularJs的新手,我需要在某些类别的td颜色内更换表格,请帮帮我!
答案 0 :(得分:0)
是的,我只解决了这个问题
ng-class =“(vm.filteredRiskScoreHeaderArray [$ index] .riskCategoryName!= null)?\'riskcatclass \':\'\'”
答案 1 :(得分:0)
ng-class =“(vm.filteredRiskScoreHeaderArray [$ index] .riskCategoryName!= null)?\'categorystyle \':\'\'”
ng-class =“(vm.filteredRiskScoreHeaderArray [$ index] .riskCategoryName!= null)?\'categorystyle \':\'\'”