瀏覽代碼

Merge branch '3.3.4-kdyh' into web-v2

dedsudiyu 2 年之前
父節點
當前提交
0ee03fb133
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/safetyEducationExam/safeLearning/safeLearning/learning.vue

+ 2 - 1
src/views/safetyEducationExam/safeLearning/safeLearning/learning.vue

@@ -6,7 +6,7 @@
       <p class="title-p">实验室安全学习与考试系统</p>
       <p class="time-p">{{timeText}}</p>
       <div class="user-box">
-        <img src="userInfo.avatar">
+        <img :src="userInfo.avatar">
         <p>{{userInfo.userName}}</p>
       </div>
       <!--<p class="button-p">退出</p>-->
@@ -237,6 +237,7 @@
           this.learningData.secondOne = secondOne;
           this.learningData.secondTwo = 0;
           if(this.learningData.postfix == "mp4"){
+            this.learningData.chapterData = window.location.href.split('://')[0]+'://' + this.judgmentNetworkReturnAddress() + this.learningData.chapterData
             // this.getVideo();
             // this.getVideoTwo();
           }else if(this.learningData.postfix == "pdf" || this.learningData.postfix == "doc" || this.learningData.postfix == "docx"||this.learningData.postfix == "ppt" || this.learningData.postfix == "pptx"){