heyang 2 years ago
parent
commit
c6a2453552
2 changed files with 3 additions and 0 deletions
  1. BIN
      src/assets/ZDimages/video_bg.png
  2. 3 0
      src/views/codeHtml.vue

BIN
src/assets/ZDimages/video_bg.png


+ 3 - 0
src/views/codeHtml.vue

@@ -67,6 +67,9 @@
           this.hazardLookUp(this.$route.query.code);
         }
       }
+      let video = document.getElementsByClassName('video-js');
+      let videoSrc= '@/assets/ZDimages/video_bg.png';
+      video.setAttribute('poster',videoSrc);
     },
     methods: {
       //加载接口