فهرست منبع

fix:加载机制

anxiaoxia 2 هفته پیش
والد
کامیت
3e7cb10d58
1فایلهای تغییر یافته به همراه12 افزوده شده و 10 حذف شده
  1. 12 10
      src/views/envmonitor/taiguv1/index.vue

+ 12 - 10
src/views/envmonitor/taiguv1/index.vue

@@ -140,9 +140,9 @@
         >
             <div
                 class="box"
-                v-if="screenEquipList?.length"
             >
                 <Screen
+                    v-if="screenEquipList?.length"
                     :roomInfo="roomInfo"
                     :screenStatus="screenStatus"
                     :equipList="screenEquipList"
@@ -151,15 +151,16 @@
             <!--设备-->
             <div
                 class="box"
-                v-if="audioEquipList?.length"
             >
                 <Volumn
+                   v-if="audioEquipList?.length"
                     :audioStatus="audioStatus"
                     :equipList="audioEquipList"
                 ></Volumn>
             </div>
             <div class="box">
                 <Lamp
+                    v-if="lampEquipList?.length"
                     :equipList="lampEquipList"
                     @showMore="showMore"
                     :lampStatus="lampStatus"
@@ -167,6 +168,7 @@
             </div>
             <div class="box air-box">
                 <Air
+                    v-if="airEquipList?.length"
                     @getStatus="getAirStatus"
                     :equipList="airEquipList"
                     :status="airStatus"
@@ -175,9 +177,9 @@
             </div>
             <div
                 class="box"
-                v-if="curtainsList?.length"
             >
                 <Curtain
+                    v-if="curtainsList?.length"
                     @showMore="showMore"
                     :modeType="modeType"
                     :currentCurtains="curtainsList"
@@ -238,13 +240,13 @@ import { ENV_CONFIG, FORUMArr, lanageArr, roomSourceData } from './const'
 const boxLine = require('@/assets/taiguv1/svg/box_line.png')
 // import "vue3-video-play/dist/style.css";
 import {
-findForServe,
-httpGetByMeetingId,
-HttpGetSpaceInfo,
-queryAirStatus,
-queryAudioStatus,
-queryLampStatus,
-queryScreenCastingStatus
+    findForServe,
+    httpGetByMeetingId,
+    HttpGetSpaceInfo,
+    queryAirStatus,
+    queryAudioStatus,
+    queryLampStatus,
+    queryScreenCastingStatus
 } from '@/apis/taiguv1'
 import useDeviceControl from '@/hooks/useDeviceControl'
 import { useStore } from '@/store'