获取路由this.$route.path和this.$route.query
区别:this.$route.path:获取当前路由
this.$route.query:获取路由传递的参数
router:操作对象,例如路由跳转,this.$router.push('xxxx')
route:获取信息,this.$route.path:和this.$route.query(name、meta、path、hash、query、 params、fullPath、matched、redirectedFrom等)