|
@@ -13,14 +13,14 @@ export const asyncRouterMap = [
|
|
children: [
|
|
children: [
|
|
// dashboard
|
|
// dashboard
|
|
{
|
|
{
|
|
- path: '/dashboard',
|
|
|
|
|
|
+ path: 'dashboard',
|
|
name: 'dashboard',
|
|
name: 'dashboard',
|
|
redirect: '/dashboard/workplace',
|
|
redirect: '/dashboard/workplace',
|
|
component: RouteView,
|
|
component: RouteView,
|
|
meta: { title: '仪表盘', keepAlive: true, icon: bxAnaalyse, permission: [ 'dashboard' ] },
|
|
meta: { title: '仪表盘', keepAlive: true, icon: bxAnaalyse, permission: [ 'dashboard' ] },
|
|
children: [
|
|
children: [
|
|
{
|
|
{
|
|
- path: '/dashboard/analysis',
|
|
|
|
|
|
+ path: 'analysis',
|
|
name: 'Analysis',
|
|
name: 'Analysis',
|
|
component: () => import('@/views/dashboard/Analysis'),
|
|
component: () => import('@/views/dashboard/Analysis'),
|
|
meta: { title: '分析页', keepAlive: false, permission: [ 'dashboard' ] }
|
|
meta: { title: '分析页', keepAlive: false, permission: [ 'dashboard' ] }
|
|
@@ -32,13 +32,13 @@ export const asyncRouterMap = [
|
|
meta: { title: '监控页(外部)', target: '_blank' }
|
|
meta: { title: '监控页(外部)', target: '_blank' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/dashboard/workplace',
|
|
|
|
|
|
+ path: 'workplace',
|
|
name: 'Workplace',
|
|
name: 'Workplace',
|
|
component: () => import('@/views/dashboard/Workplace'),
|
|
component: () => import('@/views/dashboard/Workplace'),
|
|
meta: { title: '工作台', keepAlive: true, permission: [ 'dashboard' ] }
|
|
meta: { title: '工作台', keepAlive: true, permission: [ 'dashboard' ] }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: '/dashboard/test-work',
|
|
|
|
|
|
+ path: 'test-work',
|
|
name: 'TestWork',
|
|
name: 'TestWork',
|
|
component: () => import('@/views/dashboard/TestWork'),
|
|
component: () => import('@/views/dashboard/TestWork'),
|
|
meta: { title: '测试功能', keepAlive: true, permission: [ 'dashboard' ] }
|
|
meta: { title: '测试功能', keepAlive: true, permission: [ 'dashboard' ] }
|