VUE动态修改路由参数
const query = JSON.parse(JSON.stringify(this.$route.query)) // 获取路由参数信息
query.id = Name //改变参数
this.$router.push({path:this.$route.path,query}) //更新路由
const query = JSON.parse(JSON.stringify(this.$route.query)) // 获取路由参数信息
query.id = Name //改变参数
this.$router.push({path:this.$route.path,query}) //更新路由