如何使用下面的逻辑来计算当前记录中有多少时间衰减,趋势和无误,但显示出错误的结果
<td ng-if="row.issue_type =='None'" ng-repeat="row in item.outdoor_tracking">{{$index }}</td>
<td ng-if="row.issue_type =='Fade'" ng-repeat="row in item.outdoor_tracking">{{$index }}</td>
<td ng-if="row.issue_type =='Trend'"ng-repeat="row in item.outdoor_tracking">{{$index }}</td>
答案 0 :(得分:0)
根据我对您的评论的理解,我认为这会为您解决
<tr ng-repeat="row in item.outdoor_tracking">
<td ng-if="row.issue_type =='None'">{{$index }}</td>
<td ng-if="row.issue_type =='Fade'">{{$index }}</td>
<td ng-if="row.issue_type =='Trend'">{{$index }}</td>
</tr>
快乐编码:)