|
@@ -172,7 +172,7 @@
|
|
|
<el-table-column label="蓝牙名称" align="center" prop="name" />
|
|
|
<el-table-column label="文件名" align="center" prop="fileName">
|
|
|
<template slot-scope="scope">
|
|
|
- <a @click="fujian(scope.row.filePath,scope.row.fileName)" style="color: #204F7F;">{{ scope.row.fileName }}</a>
|
|
|
+ <a @click="fujian(scope.row.filePath,scope.row.fileName)" style="color: #46A6FF;" target="_blank">{{ scope.row.fileName }}</a>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column label="文件地址" align="center" prop="filePath" /> -->
|
|
@@ -350,6 +350,7 @@ export default {
|
|
|
const link = document.createElement('a');
|
|
|
link.href =dizhi?dizhi:''
|
|
|
link.setAttribute('download',name);
|
|
|
+ link.setAttribute('target', '_blank'); // 新增代码
|
|
|
document.body.appendChild(link);
|
|
|
link.click();
|
|
|
},
|