Przeglądaj źródła

[Mod 0000] 三道沟可配置首页去掉数据源切换按钮

houzekong 1 dzień temu
rodzic
commit
d650d5209e
1 zmienionych plików z 6 dodań i 6 usunięć
  1. 6 6
      src/views/vent/home/configurable/ventSDG.vue

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

@@ -64,13 +64,13 @@
           </div>
         </div>
       </template>
-      <div
+      <!-- <div
         v-if="sysDataType === 'all'"
         :class="{ 'realtime-mode': isDataRealTime }"
         alt="切换数据模式"
         class="switch-button report-mode right-525px"
         @click="switchDataMode"
-      ></div>
+      ></div> -->
       <div class="switch-button icon-goto right-475px" @click="goMicroApp()"></div>
     </template>
   </div>
@@ -99,10 +99,10 @@
   // const showBar = ref(true);
   let interval: number | undefined;
 
-  function switchDataMode() {
-    isDataRealTime.value = !isDataRealTime.value;
-    refresh();
-  }
+  // function switchDataMode() {
+  //   isDataRealTime.value = !isDataRealTime.value;
+  //   refresh();
+  // }
 
   function refresh() {
     fetchConfigs(isDataRealTime.value ? 'vent_realtime' : 'vent').then(() => {