Ver código fonte

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

houzekong 1 dia atrás
pai
commit
c238428cd1
1 arquivos alterados com 6 adições e 1 exclusões
  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);
   }