nuxt.js 跳转新页面的方法![在这里插入图片描述](https://img-blog.csdnimg.cn/371cf7f8ec0440aba77482a3f6243126.gif#pic_center)
一般跳转方式的写法为:
this.$router.push({
path: `/soft/${e.routerKey}`,
})
跳转新页面的方式1:
let routeData = this.$router.resolve({
path: `/soft/${e.routerKey}`,
});
window.open(routeData.href, '_blank');
跳转新页面的方式2:
window.open(`/soft/${e.routerKey}`)
📢没了,结束了,是不是很简单呐,如有错误,欢迎留言.如有问题,不吝赐教。
📢如果此篇博文对您有帮助,还请动动小手点赞 👍 收藏 ⭐留言 📝呐~,谢谢 ~ ~