vue 中新窗口打开vue页面 (this.$router.resolve)
时间:2021-04-29 15:15:18
收藏:0
阅读:709
vue里下载文件方法之一:
https://blog.csdn.net/qq_40282732/article/details/102529039
https://www.cnblogs.com/mouseleo/p/11364333.html
https://www.cnblogs.com/chr506029589/p/13577339.html
1.router.js内写跳转的新页面的路由
2.在点击跳转的事件内写
outsideLink () { let {href}= this.$router.resolve({ path: "/newLinkPage", }); window.open(href, ‘_blank‘); }
原文:https://www.cnblogs.com/chinasoft/p/14717401.html
评论(0)