diff --git a/src/views/cs/index2.vue b/src/views/cs/index2.vue index ae15786..14d0f05 100644 --- a/src/views/cs/index2.vue +++ b/src/views/cs/index2.vue @@ -84,9 +84,9 @@
{{ (i||{}).equName }}
-
设备产量: {{ i.quantity }}
+
设备产量: {{ (i||{}).quantity }}
设备状态: {{ - parseFloat(i.quantity) > 0 ? '运行' : '停机' + parseFloat((i||{}).quantity) > 0 ? '运行' : '停机' }}