diff --git a/src/views/Equipment/state.vue b/src/views/Equipment/state.vue index f804cd4..fa19d6c 100644 --- a/src/views/Equipment/state.vue +++ b/src/views/Equipment/state.vue @@ -1064,6 +1064,10 @@ export default { item.electricity = 0; item.signalDevice = 0; } + if (item.onLine==0) { + item.electricity = 0; + item.signalDevice = 0; + } }); this.tableData = newlist; this.onLineCount = res.data.onLineCount;