AngularJs 三目运算符

<div ng-if="scope==‘all‘" class="outline-border">
    结果:巡检路线数量: 
    <strong>{{statistics.routesCount?statistics.routesCount:"字符串需使用引号"}}</strong>
    ,覆盖设备设施总数:
    <strong>{{statistics.routeEqTotal?statistics.routeEqTotal:0}}</strong>
    ,巡检整体覆盖率:
    <strong>{{statistics.eqCoverRate?statistics.eqCoverRate:0}}%</strong>
    ,特种设备数量:
    <strong>{{statistics.routeSpecialEqTotal?statistics.routeSpecialEqTotal:0}}</strong>
    ,特种设备巡检覆盖率:
    <strong>{{statistics.eqSpecialCoverRate?statistics.eqSpecialCoverRate:0}}%</strong>.
</div>

 <span>{{x.F_BrandName?x.F_BrandName:"无商标"}}--{{x.F_PAbbreviation}}</span>   

AngularJs 三目运算符

上一篇:文件上传及工具类


下一篇:AI-Info-Micron:5G、人工智能和即将到来的移动革命