log:
vue打开链接想让不影响当前页面的情况下,在浏览器打开一个新标签页,实现如下:
标签代码
<el-link @click="get_jecoco_report(scope.row)">查看报告</el-link>
js代码
get_jecoco_report(row) {
url='http://xxxxx'
window.open(url);
},
log:
vue打开链接想让不影响当前页面的情况下,在浏览器打开一个新标签页,实现如下:
标签代码
<el-link @click="get_jecoco_report(scope.row)">查看报告</el-link>
js代码
get_jecoco_report(row) {
url='http://xxxxx'
window.open(url);
},