Browse Source

Merge branch 'yingshuo' of https://git.cocorobo.cn/CocoRoboLabs/cocoroboWork-School into yingshuo

lsc 2 years ago
parent
commit
dc68ec6d16
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/pages/fiveDetail.vue

+ 1 - 1
src/components/pages/fiveDetail.vue

@@ -486,7 +486,7 @@ name:""
       console.log(`当前页: ${val}`);
     },
     handleClose(done) {
-      this.$refs.videoPlayer.player.pause()
+      this.$refs.videoPlayer && this.$refs.videoPlayer.player && this.$refs.videoPlayer.player.pause()
       done();
     },
     doingAssess() {