摘要: 要在created 里面才能打印出路由信息。 created() { console.log(this.$route) //获取当前路由元信息 console.log(this.$router.options) //获取整个路由表信息 console.log(this['$router'].opti 阅读全文
posted @ 2021-01-21 17:55 伟笑 阅读(154) 评论(0) 推荐(0) 编辑