mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
下载链接,新增target="_blank"
This commit is contained in:
parent
2621f2195d
commit
1f5c3e7484
@ -36,7 +36,7 @@
|
|||||||
<image-preview v-if="scope.row.type&&scope.row.type.indexOf('image/') === 0" :src="scope.row.url"
|
<image-preview v-if="scope.row.type&&scope.row.type.indexOf('image/') === 0" :src="scope.row.url"
|
||||||
:width="'100px'"></image-preview>
|
:width="'100px'"></image-preview>
|
||||||
<i v-else>无法预览,点击
|
<i v-else>无法预览,点击
|
||||||
<el-link type="primary" :underline="false" style="font-size:12px;vertical-align: baseline;"
|
<el-link type="primary" :underline="false" style="font-size:12px;vertical-align: baseline;" target="_blank"
|
||||||
:href="getFileUrl + scope.row.configId + '/get/' + scope.row.path">下载
|
:href="getFileUrl + scope.row.configId + '/get/' + scope.row.path">下载
|
||||||
</el-link>
|
</el-link>
|
||||||
</i>
|
</i>
|
||||||
|
Loading…
Reference in New Issue
Block a user