소스 검색

[Fix 0000] 可配置首页思山岭页面数据问题修复

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

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

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