feat: 跳转到例外一个标签页预览
This commit is contained in:
parent
915702183d
commit
a711e96b23
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user