<ion-radio ng-repeat="item in viewModel.xjlx.response.fields " name="askOffStyle" ng-class="{'nodays':item.entry==0&&item.entry!=''}"
ng-click="xjxzcg(item)">
{{item.name}}<span ng-if="item.entry!=''">( 剩余<span class="dayNum">{{item.entry}}</span>天 )</span>
</ion-radio>
根据判断条件-> item.entry == 0 时,则 ng-click 点击失效,该怎么实现呢?
ng-disabled="item.entry == 0"