root 2 年之前
父節點
當前提交
d51e3aef54
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/components/studyStudent.vue

+ 3 - 1
src/components/studyStudent.vue

@@ -2481,7 +2481,9 @@ export default {
       }
       }
     },
     },
     handleClose(done) {
     handleClose(done) {
-      this.videoDetail.sources[0].src=''
+      if(this.videoDetail.sources&&this.videoDetail.sources[0]){
+        this.videoDetail.sources[0].src=''
+      }
       this.commentIndexJson = {};
       this.commentIndexJson = {};
       done();
       done();
     },
     },