修改显示

yangwl
夜笙歌 3 days ago
parent 21d3a6a68c
commit af0f0db921

@ -84,9 +84,9 @@
</div>
<div class="infoModel" :style="`display:${loopIndex === k?'inline-block':''}`">
<div class="title">{{ (i||{}).equName }}</div>
<div class="equipmentOutput"><span style="color: #fff9">设备产量:</span> {{ i.quantity }}</div>
<div class="equipmentOutput"><span style="color: #fff9">设备产量:</span> {{ (i||{}).quantity }}</div>
<div class="equipmentInfo"><span style="color: #fff9">设备状态:</span> {{
parseFloat(i.quantity) > 0 ? '运行' : '停机'
parseFloat((i||{}).quantity) > 0 ? '运行' : '停机'
}}
</div>
</div>

Loading…
Cancel
Save