This commit is contained in:
Pan 2018-02-27 10:21:53 +08:00
parent aa592cfb69
commit ae41459cb1

View file

@ -24,7 +24,7 @@ import Layout from '../views/layout/Layout'
roles: ['admin','editor'] will control the page roles (you can set multiple roles) roles: ['admin','editor'] will control the page roles (you can set multiple roles)
title: 'title' the name show in submenu and breadcrumb (recommend set) title: 'title' the name show in submenu and breadcrumb (recommend set)
icon: 'svg-name' the icon show in the sidebar, icon: 'svg-name' the icon show in the sidebar,
noCache: true if fasle ,the page will no be cached(default is false) noCache: true if true ,the page will no be cached(default is false)
} }
**/ **/
export const constantRouterMap = [ export const constantRouterMap = [