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

This commit is contained in:
Marvin 2023-12-01 09:53:41 +08:00 committed by YunaiV
parent 2a0b329565
commit aac60380bc

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>