Sfoglia il codice sorgente

[Fix 0000] 修复了设备监测-历史数据出现两个以上历史表格的错误

houzekong 4 settimane fa
parent
commit
9106c97809

+ 2 - 2
src/views/vent/monitorManager/deviceMonitor/components/device/index.vue

@@ -474,11 +474,11 @@
                           <template v-if="deviceType.startsWith('firemon_normal')">
                               <HistoryBall :dataSource="dataSource"></HistoryBall>
                           </template>
-                          <template v-if="deviceType.startsWith('fanmain')">
+                          <template v-else-if="deviceType.startsWith('fanmain')">
                               <HistoryTableNew class="w-100% h-100%" :device-code="`${deviceType}`" :scroll="scroll"
                                   dict-code="fan_dict" />
                           </template>
-                          <template v-if="deviceType.startsWith('fanlocal')">
+                          <template v-else-if="deviceType.startsWith('fanlocal')">
                               <HistoryTableNew class="w-100% h-100%" :device-code="`${deviceType}`" :scroll="scroll"
                                   dict-code="fanlocal_dict" />
                           </template>