瀏覽代碼

Merge branch 'master' of http://182.92.126.35:3000/hrx/mky-vent-base

hongrunxia 3 月之前
父節點
當前提交
728ef42d62
共有 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'];