chore: update yarn.lock and guards.js; 🐛

This commit is contained in:
chenghongxing
2020-09-26 17:41:48 +08:00
parent 7b23be808f
commit 1738f601a3
2 changed files with 45 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ const authorityGuard = (to, from, next, options) => {
if (!hasAuthority(to, permissions, roles)) {
message.warning(`对不起,您无权访问页面: ${to.fullPath},请联系管理员`)
next({path: '/403'})
NProgress.done()
// NProgress.done()
} else {
next()
}