Kaynağa Gözat

[Feat 0000] 完善布尔台的模拟首页

houzekong 4 gün önce
ebeveyn
işleme
afe10ddce6

+ 3 - 3
src/views/vent/home/configurable/dust.vue

@@ -90,9 +90,9 @@
       Promise.resolve(BDDustMock).then(updateData);
       // getHomeData({}).then(updateData);
     });
-    setInterval(() => {
-      getHomeData({}).then(updateData);
-    }, 60000);
+    // setInterval(() => {
+    //   getHomeData({}).then(updateData);
+    // }, 60000);
   });
 
   onUnmounted(() => {

+ 3 - 3
src/views/vent/home/configurable/fire.vue

@@ -90,9 +90,9 @@
       Promise.resolve(BDFireMock).then(updateData);
       // getHomeData({}).then(updateData);
     });
-    setInterval(() => {
-      getHomeData({}).then(updateData);
-    }, 60000);
+    // setInterval(() => {
+    //   getHomeData({}).then(updateData);
+    // }, 60000);
   });
 
   onUnmounted(() => {