# disable statistic/settings nav menu
This commit is contained in:
parent
86a6ccaf63
commit
d73ca0f46d
|
@ -61,7 +61,7 @@ export const constantRouterMap = [
|
|||
icon: 'chart'
|
||||
},
|
||||
children: [
|
||||
{ path: 'index', component: () => import('@/views/counter/index'), name: 'statistic', meta: { title: 'statistic' }},
|
||||
// { path: 'index', component: () => import('@/views/counter/index'), name: 'statistic', meta: { title: 'statistic' }},
|
||||
{ path: 'device', component: () => import('@/views/counter/device'), name: 'device', meta: { title: 'device' }},
|
||||
{ path: 'detail', component: () => import('@/views/counter/detail'), name: 'detail', meta: { title: 'detail' }},
|
||||
{ path: 'logs', component: () => import('@/views/counter/logs'), name: 'logs', meta: { title: 'logs' }},
|
||||
|
@ -117,28 +117,28 @@ export const asyncRouterMap = [
|
|||
// }]
|
||||
// },
|
||||
|
||||
{
|
||||
path: '/settings/device',
|
||||
component: Layout,
|
||||
meta: { roles: ['superadmin', 'admin'] },
|
||||
children: [{
|
||||
path: 'index',
|
||||
component: () => import('@/views/settings/device'),
|
||||
name: 'deviceSetting',
|
||||
meta: { title: 'deviceSetting', icon: 'device', noCache: true }
|
||||
}]
|
||||
},
|
||||
// {
|
||||
// path: '/settings/device',
|
||||
// component: Layout,
|
||||
// meta: { roles: ['superadmin', 'admin'] },
|
||||
// children: [{
|
||||
// path: 'index',
|
||||
// component: () => import('@/views/settings/device'),
|
||||
// name: 'deviceSetting',
|
||||
// meta: { title: 'deviceSetting', icon: 'device', noCache: true }
|
||||
// }]
|
||||
// },
|
||||
|
||||
{
|
||||
path: '/settings/system',
|
||||
component: Layout,
|
||||
children: [{
|
||||
path: 'index',
|
||||
component: () => import('@/views/settings/system'),
|
||||
name: 'systemSetting',
|
||||
meta: { title: 'systemSetting', icon: 'system', noCache: true }
|
||||
}]
|
||||
},
|
||||
// {
|
||||
// path: '/settings/system',
|
||||
// component: Layout,
|
||||
// children: [{
|
||||
// path: 'index',
|
||||
// component: () => import('@/views/settings/system'),
|
||||
// name: 'systemSetting',
|
||||
// meta: { title: 'systemSetting', icon: 'system', noCache: true }
|
||||
// }]
|
||||
// },
|
||||
|
||||
// {
|
||||
// path: '/components',
|
||||
|
|
Loading…
Reference in New Issue