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

This commit is contained in:
jiangqiang 2022-07-09 17:55:22 +08:00
parent 2621f2195d
commit 1f5c3e7484

View File

@ -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>