src/views/videoShow.vue
@@ -6,6 +6,7 @@ import VideoItemIcon from "@/components/videoItemIcon.vue"; import videoContent from "@/assets/images/video-content.jpeg"; const num = ref([]); const imgSrc = ref("http://192.168.1.109:8080/?action=stream"); const changeVideoState = (data)=>{ num.value.forEach(item=>{ @@ -68,7 +69,7 @@ <flex-box> <abs-pos-layout> <div class="img-container"> <img :src="videoContent" alt="" /> <img :src="imgSrc" alt="" /> </div> </abs-pos-layout> </flex-box>