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