摘要: 路由对象 this.$route:访问当前路由 this.$route.name:获取当前路由名称 this.$route.hash:获取当前路由hash值(带#),如果没有hash值则为空字符串 this.$route.params:获取路由中配置的动态路径参数 this.$route.param 阅读全文
posted @ 2021-09-26 15:16 坤嬷嬷 阅读(489) 评论(0) 推荐(0) 编辑