1.query使用path和name传参都可以,而params只能使用name传参. query传参: 页面: this.$router.push({ path:'/city',name:'City', query: { cityid: this.Cityid,cityname:this.Cityname }}) 路由: { path:'/city', name:'City', component:City }, 接受参数: this.cityid = this.$route.query.cit…