forked from AkkomaGang/admin-fe
Fix typo (#747)
This commit is contained in:
parent
f3ccd9f04e
commit
e40fd27775
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import { getToken } from '@/utils/auth' // getToken from cookie
|
|||
|
||||
NProgress.configure({ showSpinner: false })// NProgress Configuration
|
||||
|
||||
// permissiom judge function
|
||||
// permission judge function
|
||||
function hasPermission(roles, permissionRoles) {
|
||||
if (roles.indexOf('admin') >= 0) return true // admin permission passed directly
|
||||
if (!permissionRoles) return true
|
||||
|
|
Loading…
Reference in a new issue