vue跳转页面问题记录

跳转到别的页面带参数

const space = this.pageHelper
space['search'] = this.search
const query_params = Object.assign({}, row, space)
this.$router.push({name: 'ansiblelogdetails', query: query_params || this.redirect})

接收

this.queryName = this.$route.query.queryName;
this.queryId = this.$route.query.queryId;

 

这篇博客比较详细,可参考

https://blog.csdn.net/mf_717714/article/details/81945218

posted @ 2020-07-30 15:20  醒日是归时  阅读(355)  评论(0编辑  收藏  举报