AngularJS 中 ng-if 能不能进行多条件判断
1个回答
展开全部
可以
and
<span ng-if="checked && checked2">
I'm removed when the checkbox is unchecked.
</span>
or
<span ng-if="checked || checked2">
I'm removed when the checkbox is unchecked.
</span>
and
<span ng-if="checked && checked2">
I'm removed when the checkbox is unchecked.
</span>
or
<span ng-if="checked || checked2">
I'm removed when the checkbox is unchecked.
</span>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询