vue路由跳转传参

this.$router.push({
					path: '/message/result_notice',
					query: {
						id: id
					}
				})

	//				let type = this.$route.name
				//				let name = type == 'policy_car' ? 'policy_details_car' : 'policy_details'
				//				this.$router.push({name:name,query:{id:id,type:type}})
原文地址:https://www.cnblogs.com/lml-lml/p/9151931.html