Vue路由query传参
1.不要进行过深的嵌套
let id = 'uyu' this.$router.push({ path: '/mrp_detail', query: { re_order_id: id, option: 'edit' } }) // 再被创新后不会被重置 let obj = {id: 'uyu'} this.$router.push({ path: '/mrp_detail', query: { obj obj, option: 'edit' } }) // 再被创新后被重置无法获取