소스 검색

+ 视频跟随前端

chen.cheng 6 달 전
부모
커밋
b25d89a8de
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      src/views/bd/index.vue

+ 6 - 1
src/views/bd/index.vue

@@ -15,7 +15,7 @@
         </div>
       </template>
     </div>
-    <video-trail/>
+    <video-trail v-if="activeMenu[menus.video_trail.name]"></video-trail>
     <div class="right-container" v-if="mapLoaded">
       <location v-if="activeMenu[menus.location_tail.name]"/>
       <fence v-if="activeMenu[menus.fence.name]"/>
@@ -63,6 +63,11 @@ const menus = {
     title: '室内定位',
     icon: 'bd_room_location',
   },
+  video_trail: {
+    name: 'video_trail',
+    title: '视频跟随',
+    icon: 'bd_room_location',
+  },
 };
 export default {
   name: 'bd',