Browse Source

158分站更新

lxh 2 months ago
parent
commit
d17021befa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/vent/safetyList/common/detail.vue

+ 1 - 1
src/views/vent/safetyList/common/detail.vue

@@ -714,7 +714,7 @@ async function handleClick(data) {
 //获取分站实时监测信息
 async function getSubStationList() {
   let res = await subStationList({ strtype: 'modbus' });
-  if (res.length == 0) {
+  if (res.length != 0) {
     cardList.value = res;
     openNum.value = cardList.value?.filter((v) => v.linkstatus == 1)['length'];
     clsoeNum.value = cardList.value?.filter((v) => v.linkstatus == 0)['length'];