Commit 1f5c3e7484f349ecbc0bdfa35a84cdb59c4a1dc5

Authored by jiangqiang
1 parent 2621f219

下载链接,新增target="_blank"

yudao-ui-admin/src/views/infra/file/index.vue
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 <image-preview v-if="scope.row.type&&scope.row.type.indexOf('image/') === 0" :src="scope.row.url" 36 <image-preview v-if="scope.row.type&&scope.row.type.indexOf('image/') === 0" :src="scope.row.url"
37 :width="'100px'"></image-preview> 37 :width="'100px'"></image-preview>
38 <i v-else>无法预览,点击 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 :href="getFileUrl + scope.row.configId + '/get/' + scope.row.path">下载 40 :href="getFileUrl + scope.row.configId + '/get/' + scope.row.path">下载
41 </el-link> 41 </el-link>
42 </i> 42 </i>