1、跳转到明细页面
this.$router.push({path: '/orderList'})
2、获取当前路由的路径
this.$route.path
注意:两段代码中一个是router,一个是route。