feat: 跳转到例外一个标签页预览

pull/327/head^2
Marvin 2023-12-01 09:53:41 +08:00 committed by YunaiV
parent 2a0b329565
commit aac60380bc
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@
preview-teleported
fit="cover"
/>
<el-link v-else-if="row.type.includes('pdf')" type="primary" :href="row.url" :underline="false">预览</el-link>
<el-link v-else-if="row.type.includes('pdf')" type="primary" :href="row.url" :underline="false" target="_blank">预览</el-link>
<el-link v-else type="primary" download :href="row.url" :underline="false" target="_blank">下载</el-link>
</template>
</el-table-column>