vue如何在地址栏拼接url参数:
this.$router.push({path:this.$route.path,query:{参数名:参数值}})
this.$router.push({path:this.$route.path,query:{cityName:location.city}})
如何继续追加url参数:
this.$router.push({path:this.$route.path,query:{...this.$route.query,要添加的参数名:参数值}})
this.$router.push({path:this.$route.path,query:{...this.$route.query,id:1}})