From 868673778ea396d93336d4a036d183be0b4788d7 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 24 Nov 2017 16:34:33 +0800 Subject: [PATCH] perf:rm role --- src/router/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index c6b171e..cb2bffe 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -14,7 +14,6 @@ import Layout from '../views/layout/Layout' * redirect: noredirect if `redirect:noredirect` will no redirct in the breadcrumb * name:'router-name' the name is used by (must set!!!) * meta : { - role: ['admin','editor'] will control the page role (you can set multiple roles) title: 'title' the name show in submenu and breadcrumb (recommend set) icon: 'svg-name' the icon show in the sidebar, } @@ -59,7 +58,7 @@ export const constantRouterMap = [ path: 'index', name: 'Table', component: _import('table/index'), - meta: { title: 'Table', icon: 'table', role: ['admin'] }} + meta: { title: 'Table', icon: 'table' }} ] },