1.router.js内写跳转的新页面的路由
2.在点击跳转的事件内写
outsideLink () { let {href}= this.$router.resolve({ path: "/newLinkPage", }); window.open(href, \'_blank\'); }
1.router.js内写跳转的新页面的路由
2.在点击跳转的事件内写
outsideLink () { let {href}= this.$router.resolve({ path: "/newLinkPage", }); window.open(href, \'_blank\'); }
相关文章: