Skip to content

Commit e40fd27

Browse files
kuvikiPanJiaChen
authored andcommitted
Fix typo (PanJiaChen#747)
1 parent f3ccd9f commit e40fd27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/permission.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { getToken } from '@/utils/auth' // getToken from cookie
77

88
NProgress.configure({ showSpinner: false })// NProgress Configuration
99

10-
// permissiom judge function
10+
// permission judge function
1111
function hasPermission(roles, permissionRoles) {
1212
if (roles.indexOf('admin') >= 0) return true // admin permission passed directly
1313
if (!permissionRoles) return true

0 commit comments

Comments
 (0)