소스 검색

[Fix 0000] 三道沟可配置首页数据刷新后请求负载不正确的问题修复

houzekong 1 일 전
부모
커밋
c238428cd1
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      src/views/vent/home/configurable/ventSDG.vue

+ 6 - 1
src/views/vent/home/configurable/ventSDG.vue

@@ -147,7 +147,12 @@
 
   function initInterval() {
     setInterval(() => {
-      list({}).then(updateData);
+      list({
+        types: configs.value
+          .filter((e) => e.deviceType)
+          .map((e) => e.deviceType)
+          .join(','),
+      }).then(updateData);
     }, 60000);
   }