1、router.js配置
需要在路径后定义上要传的属性名 --》 /:属性名(query方式不需要)
<router-link :to="{ name:‘CreateProgress‘,params: { name1: ‘参数‘},query: { queryId: status2 }}" >xxxxx</router-link>this.$router.push({ name:‘CreateProgress‘,params: { name1:‘参数‘},query: { queryId: status2 }});原文:https://www.cnblogs.com/fqh123/p/9927569.html