{ path: '/restPassword/:id', component: restPassword }, 在router.beforeEach里该怎么设置,让它可以放行,因为后面带有id参数
谢谢大家了。
正常的路由就算带有参数也是能通过的啊,还是你是想通过判断携带的具体参数来判断是否放行?