ソースを参照

158分站更新

lxh 2 ヶ月 前
コミット
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'];