Blame view
src/router/modules/meta.js
589 Bytes
50760eab9 auto commit the c... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import Layout from '@/layout' const metaRouter = { path: '/meta', component: Layout, redirect: '/meta/page', alwaysShow: true, // will always show the root menu name: 'Meta', meta: { title: 'metas.metas', icon: 'zip', roles: ['admin', 'assistant'] // you can set roles in root nav }, children: [{ path: 'page', |
a6e433928 auto commit the c... |
16 |
component: () => import('@/views/meta/tree'), |
50760eab9 auto commit the c... |
17 18 |
name: 'MetaList', meta: { |
a6e433928 auto commit the c... |
19 |
title: 'metas.list', |
50760eab9 auto commit the c... |
20 21 22 23 24 25 |
icon: 'zip', roles: ['admin', 'assistant'] // or you can only set roles in sub nav } }] } export default metaRouter |