Forráskód Böngészése

Merge branch '3.3.4-kdyh' into web-v2

dedsudiyu 2 éve
szülő
commit
0ee03fb133

+ 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"){