From e40fd27775950669f1fe374f3a286dd2e156a773 Mon Sep 17 00:00:00 2001 From: kuviki Date: Thu, 7 Jun 2018 13:26:10 +0800 Subject: [PATCH] Fix typo (#747) --- src/permission.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/permission.js b/src/permission.js index e4f491d1..6fe91b48 100644 --- a/src/permission.js +++ b/src/permission.js @@ -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