vue的路由的跳转 css筑梦 2019-06-18 166 阅读1分钟 next(){ this.$router.go(1); },向前 prev(){ this.$route.go(-1) }后退 this.$router.push({path:'/word/router2',query:{id:123}});跳转页面,query传递参数,push跳转的路径可以实现回退 this.$router.replace({path:'/word/router2',query:{id:123}});跳转页面,query传递参数,replace跳转的路径无法实现回退