Vue中this.$router.resolve实现页面跳转并传参(在新窗口打开页面)
let lybl = '';lybl = this.$router.resolve({path: 'EnterpriseReport',query:{ancheid: id , ancheyear: ancheyear}})window.open(lybl.href, '_blank');
·
let lybl = '';
lybl = this.$router.resolve(
{
path: 'EnterpriseReport',
query:{
ancheid: id , ancheyear: ancheyear
}})
window.open(lybl.href, '_blank');
更多推荐
已为社区贡献6条内容
所有评论(0)