فهرست منبع

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

hongrunxia 2 ماه پیش
والد
کامیت
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'];