lsc 2 년 전
부모
커밋
59a78b2be1
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/components/GM/studyStudentGM.vue
  2. 1 1
      src/components/student/studyStudent.vue
  3. 1 1
      src/components/studyStudent.vue

+ 1 - 1
src/components/GM/studyStudentGM.vue

@@ -412,7 +412,7 @@
               <div style="padding: 10px 30px 0" v-if="showType == 2 || showType == 3">
                 <el-button class="btnClassGM" type="primary"
                   @click="checkFileFull(showType, pptImgUrl1)">全屏查看</el-button>
-                <el-button class="btnClassGM" type="primary" @click="downloadFile(pptImgUrl1)">文件下载</el-button>
+                <el-button class="btnClassGM" type="primary" @click="downloadFile(pptImgUrl1)" v-if="isClickNav.indexOf('line') == -1">文件下载</el-button>
                 <el-button class="btnClassGM" v-if="isClickNav.indexOf('line') != -1" type="primary"
                   @click="openLine(pptImgUrl1)">打开链接
                 </el-button>

+ 1 - 1
src/components/student/studyStudent.vue

@@ -411,7 +411,7 @@
               </div>
               <div style="padding: 10px 30px 0" v-if="showType == 2 || showType == 3">
                 <el-button type="primary" @click="checkFileFull(showType, pptImgUrl1)">全屏查看</el-button>
-                <el-button type="primary" @click="downloadFile(pptImgUrl1)">文件下载</el-button>
+                <el-button type="primary" @click="downloadFile(pptImgUrl1)" v-if="isClickNav.indexOf('line') == -1">文件下载</el-button>
                 <el-button v-if="isClickNav.indexOf('line') != -1" type="primary" @click="openLine(pptImgUrl1)">打开链接
                 </el-button>
               </div>

+ 1 - 1
src/components/studyStudent.vue

@@ -411,7 +411,7 @@
               </div>
               <div style="padding: 10px 30px 0" v-if="showType == 2 || showType == 3">
                 <el-button type="primary" @click="checkFileFull(showType, pptImgUrl1)">全屏查看</el-button>
-                <el-button type="primary" @click="downloadFile(pptImgUrl1)">文件下载</el-button>
+                <el-button type="primary" @click="downloadFile(pptImgUrl1)" v-if="isClickNav.indexOf('line') == -1">文件下载</el-button>
                 <el-button v-if="isClickNav.indexOf('line') != -1" type="primary" @click="openLine(pptImgUrl1)">打开链接
                 </el-button>
               </div>