zclzone/vue-naive-admin

路由白名单

remember-5 opened this issue · 2 comments

可以考虑出一个路由白名单吗?因为在业务中,有部分页面是无需认证即可访问

可以考虑出一个路由白名单吗?因为在业务中,有部分页面是无需认证即可访问

已经找到 src/router/guard/permission-guard.js:3

已提Issue,
白名单最好能直接复用Router中的Meta,如增加一个meta属性 nologin=true
避免写死具体路径或者routername。支持分散位置放置router。
Thanks Contributer