lsc 2 роки тому
батько
коміт
59a78b2be1

+ 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>