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

This commit is contained in:
Marvin 2023-12-01 09:53:41 +08:00
parent 915702183d
commit a711e96b23

View File

@ -70,7 +70,7 @@
preview-teleported preview-teleported
fit="cover" 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> <el-link v-else type="primary" download :href="row.url" :underline="false" target="_blank">下载</el-link>
</template> </template>
</el-table-column> </el-table-column>