vue-router在新窗口打开

let routeUrl = this.$router.resolve({name: 'index-id', params: {id: 123} });
window.open(routeUrl.href, '_blank');

友情链接

Copyright©歪脖博客

备案号:豫ICP备16002920号-3