this.$router.options.routes this.$router.options.routes 可以拿到初始化时配置的路由规则 this.$route 可以拿到当前路由信息 (包括路由路径,参数0