Skip to content

Commit 9778969

Browse files
下载链接,新增target="_blank"
1 parent 04df112 commit 9778969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/infra/file/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<image-preview v-if="scope.row.type&&scope.row.type.indexOf('image/') === 0" :src="scope.row.url"
3737
:width="'100px'"></image-preview>
3838
<i v-else>无法预览,点击
39-
<el-link type="primary" :underline="false" style="font-size:12px;vertical-align: baseline;"
39+
<el-link type="primary" :underline="false" style="font-size:12px;vertical-align: baseline;" target="_blank"
4040
:href="getFileUrl + scope.row.configId + '/get/' + scope.row.path">下载
4141
</el-link>
4242
</i>

0 commit comments

Comments
 (0)