//1 使用window.open()跳转
window.open('excel.html')
// 2,a标签跳转踩坑:
<a href="excel" tarrget="_black>跳转</a>
html文件需要放到public里面
vue通过点击按钮弹出新窗口打开html文件
最新推荐文章于 2024-05-13 16:11:24 发布
//1 使用window.open()跳转
window.open('excel.html')
// 2,a标签跳转踩坑:
<a href="excel" tarrget="_black>跳转</a>
html文件需要放到public里面