瀏覽代碼

158分站更新

lxh 4 月之前
父節點
當前提交
d17021befa
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'];