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}})
posted @ 2018-06-07 17:40  李美玲  阅读(182)  评论(0)    收藏  举报