Commit 1f5c3e7484f349ecbc0bdfa35a84cdb59c4a1dc5
1 parent
2621f219
下载链接,新增target="_blank"
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-ui-admin/src/views/infra/file/index.vue
| ... | ... | @@ -36,7 +36,7 @@ |
| 36 | 36 | <image-preview v-if="scope.row.type&&scope.row.type.indexOf('image/') === 0" :src="scope.row.url" |
| 37 | 37 | :width="'100px'"></image-preview> |
| 38 | 38 | <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" | |
| 40 | 40 | :href="getFileUrl + scope.row.configId + '/get/' + scope.row.path">下载 |
| 41 | 41 | </el-link> |
| 42 | 42 | </i> | ... | ... |