this.$route

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

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