Browse Source

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

jiangqiang 2 years ago
parent
commit
1f5c3e7484
1 changed files with 1 additions and 1 deletions
  1. 1 1
      yudao-ui-admin/src/views/infra/file/index.vue

+ 1 - 1
yudao-ui-admin/src/views/infra/file/index.vue

@@ -36,7 +36,7 @@
           <image-preview v-if="scope.row.type&&scope.row.type.indexOf('image/') === 0" :src="scope.row.url"
                          :width="'100px'"></image-preview>
           <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">下载
             </el-link>
           </i>