this.$route

this.$route  获取当前激活状态的路由组件的路由信息

posted @ 2021-11-29 12:02  亦茫茫  阅读(25)  评论(0)    收藏  举报