|
@@ -246,7 +246,7 @@
|
|
|
@click="checkFileFull(chapterlist[chapterIndex].type, chapterlist[chapterIndex].src)">全屏查看</el-button>
|
|
|
<el-button type="primary" @click="downloadFile(chapterlist[chapterIndex].src)">文件下载</el-button>
|
|
|
</div>
|
|
|
- <div style="padding: 10px 30px 0" v-if="chapterlist[chapterIndex].type == 8">
|
|
|
+ <div style="padding: 10px 30px 0" v-if="chapterlist[chapterIndex] && chapterlist[chapterIndex].type == 8">
|
|
|
<el-button type="primary"
|
|
|
@click="openLine(chapterlist[chapterIndex].src)">打开链接
|
|
|
</el-button>
|